@@ -41,44 +41,40 @@ minikube version: v1.5.2
41
41
minikube start --network-plugin=cni
42
42
```
43
43
44
- For minikube you can install Cilium using its CLI tool. Cilium will
45
- automatically detect the cluster configuration and will install the appropriate
46
- components for a successful installation:
44
+ For minikube you can install Cilium using its CLI tool. To do so, first download the latest
45
+ version of the CLI with the following command:
47
46
48
47
``` shell
49
48
curl -LO https://github.com/cilium/cilium-cli/releases/latest/download/cilium-linux-amd64.tar.gz
49
+ ```
50
+
51
+ Then extract the downloaded file to your ` /usr/local/bin ` directory with the following command:
52
+
53
+ ``` shell
50
54
sudo tar xzvfC cilium-linux-amd64.tar.gz /usr/local/bin
51
55
rm cilium-linux-amd64.tar.gz
52
- cilium install
53
- ```
54
56
```
55
- 🔮 Auto-detected Kubernetes kind: minikube
56
- ✨ Running "minikube" validation checks
57
- ✅ Detected minikube version "1.20.0"
58
- ℹ️ Cilium version not set, using default version "v1.10.0"
59
- 🔮 Auto-detected cluster name: minikube
60
- 🔮 Auto-detected IPAM mode: cluster-pool
61
- 🔮 Auto-detected datapath mode: tunnel
62
- 🔑 Generating CA...
63
- 2021/05/27 02:54:44 [INFO] generate received request
64
- 2021/05/27 02:54:44 [INFO] received CSR
65
- 2021/05/27 02:54:44 [INFO] generating key: ecdsa-256
66
- 2021/05/27 02:54:44 [INFO] encoded CSR
67
- 2021/05/27 02:54:44 [INFO] signed certificate with serial number 48713764918856674401136471229482703021230538642
68
- 🔑 Generating certificates for Hubble...
69
- 2021/05/27 02:54:44 [INFO] generate received request
70
- 2021/05/27 02:54:44 [INFO] received CSR
71
- 2021/05/27 02:54:44 [INFO] generating key: ecdsa-256
72
- 2021/05/27 02:54:44 [INFO] encoded CSR
73
- 2021/05/27 02:54:44 [INFO] signed certificate with serial number 3514109734025784310086389188421560613333279574
74
- 🚀 Creating Service accounts...
75
- 🚀 Creating Cluster roles...
76
- 🚀 Creating ConfigMap...
77
- 🚀 Creating Agent DaemonSet...
78
- 🚀 Creating Operator Deployment...
79
- ⌛ Waiting for Cilium to be installed...
57
+
58
+ After running the above commands, you can now install Cilium with the following command:
59
+
60
+ ``` shell
61
+ cilium install
80
62
```
81
63
64
+ Cilium will then automatically detect the cluster configuration and create and
65
+ install the appropriate components for a successful installation.
66
+ The components are:
67
+
68
+ - Certificate Authority (CA) in Secret ` cilium-ca ` and certificates for Hubble (Cilium's observability layer).
69
+ - Service accounts.
70
+ - Cluster roles.
71
+ - ConfigMap.
72
+ - Agent DaemonSet and an Operator Deployment.
73
+
74
+ After the installation, you can view the overall status of the Cilium deployment with the ` cilium status ` command.
75
+ See the expected output of the ` status ` command
76
+ [ here] ( https://docs.cilium.io/en/stable/gettingstarted/k8s-install-default/#validate-the-installation ) .
77
+
82
78
The remainder of the Getting Started Guide explains how to enforce both L3/L4
83
79
(i.e., IP address + port) security policies, as well as L7 (e.g., HTTP) security
84
80
policies using an example application.
0 commit comments