Skip to content

CICD-287 · Kubernetes operator deployment ​

Encyclopedia · Advanced Kubernetes operations · All snippets

Previous · CICD-286 · Next · CICD-288

1. Where it fits ​

  • Placement CI run step or authorized lab terminal.
  • Prerequisites kubectl, isolated cluster or namespace and installed CRDs when named.
  • Platforms kubernetes, local-lab.
  • Parameters OPERATOR_MANIFEST.

2. Copy the snippet ​

bash
kubectl apply --server-side -f "${OPERATOR_MANIFEST:?}"
kubectl -n operators rollout status deployment/example-controller --timeout=180s

3. How it works ​

The apply command sends the reviewed operator assets to the API server. Controller rollout verification is separate from CRD establishment and reconciliation of custom resources.

4. Verify the result ​

Review CRDs and cluster permissions. Wait for CRDs to be Established before creating custom resources.

Validation syntax-validated (Bash parse). Status definitions.