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
TIP: If you use homebrew you can install it with the brew install command: `brew install minikube`.
41
+
42
42
## Step 2: Create A Kubernetes Cluster
43
43
By starting Minikube, a single-node cluster is created. Run the following command in your terminal to complete the creation of the cluster:
44
44
@@ -47,20 +47,19 @@ minikube start
47
47
```
48
48
49
49
50
-
Install ingress
50
+
Install ingress:
51
51
52
52
```
53
53
minikube addons enable ingress
54
54
```
55
55
56
-
Set the environment of docker
56
+
Set the environment of docker. This will make you shell use minikube's docker, so any image you build, you'll build it in the minikube machine. With this, you won't need a docker registry:
57
57
```bash
58
58
eval$(minikube docker-env)
59
59
```
60
60
61
61
To run your commands against Kubernetes clusters, the kubectl CLI is needed. Check step 3 to complete the installation of kubectl.
62
62
63
-
64
63
## Step 3: Install The Kubectl Command-Line Tool
65
64
In order to start working on a Kubernetes cluster, it is necessary to install the Kubernetes command line (kubectl). Follow these steps to install the kubectl CLI:
66
65
@@ -74,7 +73,7 @@ In order to start working on a Kubernetes cluster, it is necessary to install th
74
73
75
74
TIP: Once the kubectl CLI is installed, you can obtain information about the current version with the kubectl version command.
76
75
77
-
NOTE: You can also install kubectl by using the sudo apt-get install kubectl command.
76
+
NOTE: You can also install kubectl by using the `sudo apt-get install kubectl` command. If you use homebrew you can install it with the brew install command: `brew install kubectl`.
78
77
79
78
* Check that kubectl is correctly installed and configured by running the kubectl cluster-info command:
80
79
@@ -101,11 +100,10 @@ In order to start working on a Kubernetes cluster, it is necessary to install th
[Learn more about the kubectl CLI](https://kubernetes.io/docs/user-guide/kubectl-overview/).
106
104
107
-
## Step 4: Install And Configure Helm And Tiller
108
-
The easiest way to run and manage applications in a Kubernetes cluster is using Helm. Helm allows you to perform key operations for managing applications such as install, upgrade or delete. Helm is composed of two parts: Helm (the client) and Tiller (the server). Follow the steps below to complete both Helm and Tiller installation and create the necessary Kubernetes objects to make Helm work with Role-Based Access Control (RBAC):
105
+
## Step 4: Install Helm
106
+
The easiest way to run and manage applications in a Kubernetes cluster is using Helm. Helm allows you to perform key operations for managing applications such as install, upgrade or delete.
109
107
110
108
* To install Helm, run the following commands:
111
109
@@ -115,61 +113,7 @@ The easiest way to run and manage applications in a Kubernetes cluster is using
115
113
./get_helm.sh
116
114
```
117
115
118
-
TIP: If you are using OS X you can install it with the brew install command: brew install kubernetes-helm.
119
-
120
-
* Create a ClusterRole configuration file with the content below. In this example, it is named clusterrole.yaml.
0 commit comments