Skip to content
56 changes: 56 additions & 0 deletions source/plugins/cloudstack-kubernetes-service.rst
Original file line number Diff line number Diff line change
Expand Up @@ -385,6 +385,55 @@ The service provides functionality to access kubeconfig file for a running Kuber

getKubernetesClusterConfig API can be used to retrieve kubeconfig file data for a cluster. It takes id of the cluster as the input parameter.

Note: The meta-data and user-data of the underlying host can be accessed by the container running on the cks cluster. If you want prevent the access follow the below steps

.. parsed-literal::

- The meta-data and user-data of the underlying worker-nodes can be accessed by the containers running on the CKS cluster

For example deploy a container on a cks cluster

kubectl exec -it <container> -- /bin/sh

curl http://data-server/latest/meta-data/
service-offering
availability-zone
local-ipv4
local-hostname
public-ipv4
public-hostname
instance-id
vm-id
public-keys
cloud-identifier
hypervisor-host-name

curl http://data-server/latest/user-data/


- If you want to prevent the access of meta-data and user-data from the containers running on cks-cluster, Execute the following yaml

kubectl apply -f deny-meta-data.yaml

apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
name: deny-metadata-access
spec:
podSelector: {}
policyTypes:
- Egress
egress:
- to:
- ipBlock:
cidr: 169.254.188.68/32
ports:
- protocol: TCP
port: 80




Kubernetes cluster web dashboard
#################################

Expand Down Expand Up @@ -429,6 +478,13 @@ Kubernetes compatibility Matrix
+--------------+---------------------------------+-----------------------------+-------------+
| 4.16.1 | v1.20 onward | SystemVM Template (Debian) | cloud |
+--------------+---------------------------------+-----------------------------+-------------+
| 4.19.1 | v1.30 onward | SystemVM Template (Debian) | cloud |
+--------------+---------------------------------+-----------------------------+-------------+
| 4.20.1 | v1.30 onward | SystemVM Template (Debian) | cloud |
+--------------+---------------------------------+-----------------------------+-------------+
| 4.21.0 | v1.33 onward | SystemVM Template (Debian) | cloud |
+--------------+---------------------------------+-----------------------------+-------------+


Adding/Removing Instances for an ExternalManaged Kubernetes Cluster
###################################################################
Expand Down