./deploy/generate-manifest.sh $LINODE_API_TOKEN $REGION
ccm-linode.yaml
containing:kubectl apply -f ccm-linode.yaml
You can modify the DaemonSet to include custom environment variables:
env:
- name: LINODE_INSTANCE_CACHE_TTL
value: "15"
- name: LINODE_ROUTES_CACHE_TTL_SECONDS
value: "60"
Adjust compute resources as needed:
resources:
requests:
cpu: 100m
memory: 128Mi
limits:
cpu: 200m
memory: 256Mi
Cloud Controller Manager exposes metrics by default on port given by
--secure-port
flag. The endpoint is protected from unauthenticated access by
default. To allow unauthenticated clients (system:anonymous
) access
Prometheus metrics, use --authorization-always-allow-paths="/metrics"
command-line flag.
Linode API calls can be monitored using ccm_linode_client_requests_total
metric.
To remove the CCM:
kubectl delete -f ccm-linode.yaml