You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This tutorial describes how to set up Kubernetes development environment with AWS EKS and MarkLogic Server. It covers these tasks:
34
34
- Set up the prerequisites necessary for setting up MarkLogic Server in Kubernetes
35
-
- How to setup Kubernetes cluster and install MarkLogic Server on Minikube
36
-
- How to setup Kubernetes cluster and install MarkLogic Server on AWS EKS using eksctl
35
+
- How to set up Kubernetes cluster and install MarkLogic Server on Minikube
36
+
- How to set up Kubernetes cluster and install MarkLogic Server on AWS EKS using eksctl
37
37
- Access the MarkLogic Server cluster
38
38
- How to clean up your environment
39
39
- List of parameters used for configuration
40
40
41
41
# Prerequisites
42
42
43
-
## Set up the required tools
43
+
## Set Up the Required Tools
44
44
45
45
### Helm
46
46
@@ -51,7 +51,7 @@ To install Helm, follow the steps described in: https://helm.sh/docs/intro/insta
51
51
Verify the installation with this command:
52
52
53
53
```
54
-
helm -h
54
+
helm -h
55
55
```
56
56
57
57
If Helm is installed correctly, you will see the Helm user manual.
@@ -64,32 +64,32 @@ Kubectl is a command line tool that serves as a client, to connect to a Kubernet
64
64
65
65
To install Kubectl, follow the steps at: https://kubernetes.io/docs/tasks/tools/
66
66
67
-
To verify the Kubectl installation, use this command:
67
+
To verify the Kubectl installation, use this command:
68
68
69
69
```
70
-
kubectl -h
70
+
kubectl -h
71
71
```
72
72
If Kubectl is installed correctly, you will see the the Kubectl user manual.
73
73
74
74
If kubectl is not installed correctly, you will see the error: `command not found: kubectl`
75
75
76
-
## Set up the Kubernetes Cluster
76
+
## Set Up the Kubernetes Cluster
77
77
78
78
### Local Development MiniKube
79
79
80
80
For local development, you will want to set up MiniKube. See the set up instructions here: [MiniKube Setup Guide](docs/Local_Development_Tutorial.md)
81
81
82
82
### Production Workload: AWS EKS
83
83
84
-
For production workload development, you will want to use a cloud platform.
84
+
For production workload development, you will want to use a cloud platform.
85
85
86
86
EKS is a managed Kubernetes platform provided by AWS. The eksctl tool is a simple way to bring up a Kubernetes cluster on EKS.
87
87
88
88
#### Install eksctl
89
89
90
90
To install eksctl, follow the steps described here: https://docs.aws.amazon.com/eks/latest/userguide/eksctl.html
91
91
92
-
#### Using eksctl to provision Kubernetes cluster on EKS
92
+
#### Using eksctl to Provision Kubernetes Cluster on EKS
93
93
94
94
The following eksctl code can be used to create a Kubernetes cluster in EKS. You will need to replace CLUSTER_NAME, KUBERNETES_VERSION, REGION, NODEGROUP_NAME, NODE_TYPE and NUMBER_OF_NODES based on your configuration.
Additionally create a `values.yaml` file for your installation, like the one found in the repository under `/charts`: https://marklogic.github.io/marklogic-kubernetes/. The `values.yaml` file controls configuration for MarkLogic Server running in kubernetes.
60
60
Run `helm install RELEASE_NAME marklogic/marklogic --version=1.0.0-ea1 --values values.yaml` where the `RELEASE_NAME` can be any name you want to use to identify this deployment.
0 commit comments