May 2019
Intermediate to advanced
442 pages
11h 36m
English
We'll be building upon the Kubernetes test environment started previously. To begin the deployment, ensure you move into the correct repository path, relative to the repository root as follows:
cd ./chapter06/provision/kubernetes/
As access to the Kubernetes API is required, the role-based access control (RBAC) configuration for this deploy is quite extensive, which includes a Role, a RoleBinding, a ClusterRole, a ClusterRoleBinding, and a ServiceAccount. This manifest is available at ./kube-state-metrics/kube-state-metrics-rbac.yaml.
It should be applied using the following command:
kubectl apply -f ./kube-state-metrics/kube-state-metrics-rbac.yaml
We'll be creating a deployment for kube-state-metrics with just one instance, as, ...
Read now
Unlock full access