With kops you manage addons by using kubectl.
Addons in kubernetes are traditionally done by copying files to /etc/kubernetes/addons
on the master. But this
doesn't really make sense in HA master configurations. We also have kubectl available, and addons is just a thin
wrapper over calling kubectl.
This document describes how to install some common addons.
The dashboard project provides a nice administrative UI:
Install using:
kubectl create -f https://raw.githubusercontent.com/kubernetes/kops/master/addons/kubernetes-dashboard/v1.5.0.yaml
And then navigate to https://api.<clustername>/ui
(/ui
is an alias to https://<clustername>/api/v1/proxy/namespaces/kube-system/services/kubernetes-dashboard
)
The login credentials are:
- Username:
admin
- Password: get by running
kops get secrets kube --type secret -oplaintext
orkubectl config view --minify
Monitoring supports the horizontal pod autoscaler.
Install using:
kubectl create -f https://raw.githubusercontent.com/kubernetes/kops/master/addons/monitoring-standalone/v1.2.0.yaml
Please note that kops installs a Route53 DNS controller automatically (it is required for cluster discovery). The functionality of the route53-mapper overlaps with the dns-controller, but some users will prefer to use one or the other. README for the included dns-controller
route53-mapper automates creation and updating of entries on Route53 with A
records pointing
to ELB-backed LoadBalancer
services created by Kubernetes. Install using:
kubectl apply -f https://raw.githubusercontent.com/kubernetes/kops/master/addons/route53-mapper/v1.2.0.yml