With Kubernetes manually installed, how to install and use the addon manager?

With Kubernetes manually installed on CoreOS , how to install and use the Kubernetes Admin Administrator Administrator ?

I found links to the addon manager, which is the standard way to install Kubernetes add-ons, but I cannot find any authoritative documentation on it. Hope someone can help me here.

+5
source share
1 answer

The addon manager is deployed as a regular module or deployment with a simple kubectl apply -f .

Yaml looks something like this: look at the specific version you need:

apiVersion: v1 kind: Pod metadata: name: kube-addon-manager namespace: kube-system labels: component: kube-addon-manager spec: hostNetwork: true containers: - name: kube-addon-manager # When updating version also bump it in: # - cluster/images/hyperkube/static-pods/addon-manager-singlenode.json # - cluster/images/hyperkube/static-pods/addon-manager-multinode.json # - test/kubemark/resources/manifests/kube-addon-manager.yaml image: gcr.io/google-containers/kube-addon-manager:v6.4-beta.1 command: - /bin/bash - -c - /opt/kube-addons.sh 1>>/var/log/kube-addon-manager.log 2>&1 resources: requests: cpu: 5m memory: 50Mi volumeMounts: - mountPath: /etc/kubernetes/ name: addons readOnly: true - mountPath: /var/log name: varlog readOnly: false volumes: - hostPath: path: /etc/kubernetes/ name: addons - hostPath: path: /var/log name: varlog

The addon manager monitors specific yaml files in /etc/kubernetes/addons/ , puts any addon you like here to install it.

+1
source

Source: https://habr.com/ru/post/1266966/


All Articles