After installing the CCM, follow these steps to verify it's working correctly.
- Verify the CCM pods are running:
kubectl get pods -n kube-system -l app=ccm-linode
Expected output:
NAME READY STATUS RESTARTS AGE
ccm-linode-xxxxx 1/1 Running 0 2m
- Check CCM logs:
kubectl logs -n kube-system -l app=ccm-linode
Look for successful initialization messages and no errors.
- Check node annotations:
kubectl get nodes -o yaml
Look for:
- Proper region labels
- Node addresses
- Provider ID
- Create a test service:
apiVersion: v1
kind: Service
metadata:
name: test-lb
spec:
type: LoadBalancer
ports:
- port: 80
selector:
app: test
- Verify NodeBalancer creation:
kubectl get svc test-lb
The service should receive an external IP address.
- Pods in CrashLoopBackOff: Check logs for API token or permissions issues
- Service stuck in 'Pending': Verify API token has NodeBalancer permissions
- Missing node annotations: Check CCM logs for node controller issues