|
46 | 46 | :uri-terraform-oke-sample: https://github.com/terraform-providers/terraform-provider-oci/tree/master/examples/container_engine |
47 | 47 | :uri-terraform-options: {uri-docs}/terraformoptions.adoc |
48 | 48 | :uri-install-kubectl: https://kubernetes.io/docs/tasks/tools/install-kubectl/ |
49 | | -:uri-helm: https://helm.sh/ |
50 | 49 | :uri-metricserver: https://kubernetes.io/docs/tasks/debug-application-cluster/resource-metrics-pipeline/#metrics-server |
51 | 50 | :uri-k8s-dashboard: http://localhost:8001/api/v1/namespaces/kube-system/services/https:kubernetes-dashboard:/proxy/ |
52 | 51 | :uri-psp: https://docs.cloud.oracle.com/en-us/iaas/Content/ContEng/Tasks/contengusingpspswithoke.htm#Using_Pod_Security_Polices_with_Container_Engine_for_Kubernetes |
|
64 | 63 | .. link:#recommendations-for-using-instance_principal[Recommendations for using instance_principal] |
65 | 64 | . link:#interacting-with-the-oke-cluster[Interacting with the OKE Cluster locally] |
66 | 65 | . link:#creating-a-secret-for-ocir[Creating a Secret for OCIR] |
67 | | -. link:#installing-helm[Installing helm] |
68 | 66 | . link:#installing-calico[Installing Calico] |
69 | 67 | . link:#installing-kubernetes-metrics-server[Installing Kubernetes Metrics Server] |
70 | 68 | . link:#scaling-the-number-of-node-pools[Scaling the number of node pools] |
@@ -168,7 +166,7 @@ You can then copy the ssh_to_operator command, paste and run it in a terminal. |
168 | 166 |
|
169 | 167 | Any user who has access to the instance (who can SSH to the instance), automatically inherits the privileges granted to the instance. Before you enable this feature, ensure that you know who can access it, and that they should be authorized with the permissions you are granting to the instance. |
170 | 168 |
|
171 | | -By default, this feature is *_disabled_*. However, it is *_required_* at the time of cluster creation *_if_* you wish to enable link:#kms-integration[KMS Integration], calico, metricserver, helm or creating the OCIR secret. |
| 169 | +By default, this feature is *_disabled_*. However, it is *_required_* at the time of cluster creation *_if_* you wish to enable link:#kms-integration[KMS Integration], calico, metricserver or creating the OCIR secret. |
172 | 170 |
|
173 | 171 | When you enable this feature, by default, the operator host will have privileges to all resources in the compartment. If you are enabling it for link:#kms-integration[KMS Integration], the operator host will also have rights to create policies in the root tenancy. |
174 | 172 |
|
@@ -205,7 +203,7 @@ terraform apply |
205 | 203 | ==== Recommendations for using instance_principal |
206 | 204 |
|
207 | 205 | . Do not enable instance_principal if you are not using link:#kms-integration[KMS Integration] or calico |
208 | | -. Enable instance_principal *_if and only if_* you are using link:#kms-integration[KMS Integration], calico, metricserver, helm or creating the OCIR secret. |
| 206 | +. Enable instance_principal *_if and only if_* you are using link:#kms-integration[KMS Integration], calico, metricserver or creating the OCIR secret. |
209 | 207 | . Disable instance_principal once the cluster is created |
210 | 208 |
|
211 | 209 | === Interacting with the OKE Cluster |
@@ -241,12 +239,6 @@ You must then {uri-oci-secret}[create a Secret in OCI Vault to store] the value |
241 | 239 |
|
242 | 240 | Finally, assign the Secret OCID to *secret_id* in terraform.tfvars. Refer to {uri-terraform-options}#ocir[OCIR parameters] for other parameters to be set. |
243 | 241 |
|
244 | | -=== Installing helm |
245 | | - |
246 | | -{uri-helm}[Helm] is a package manager for kubernetes. If you want to install helm on the operator host, set the parameter *helm_enabled = true* in terraform.tfvars. By default, it is set to false. |
247 | | - |
248 | | -An alias "*h*" will be created for helm on the operator host. For other available parameters, refer to {uri-terraform-options}#helm[Helm parameters]. |
249 | | - |
250 | 242 | === Installing Calico |
251 | 243 |
|
252 | 244 | Calico enables network policy in Kubernetes clusters. To install calico set the parameter *calico_enabled = true* in terraform.tfvars. By default its set to false. Refer to {uri-terraform-options}#calico[Calico parameters] for other available parameters. |
|
0 commit comments