Complete the command to install FluxCD CLI.
curl -s https://fluxcd.io/install.sh | [1]The FluxCD CLI installation script is run using sh to execute the shell script.
Complete the kubectl command to create a namespace named 'flux-system'.
kubectl create [1] flux-systemThe command creates a Kubernetes namespace, so the resource type is namespace.
Fix the error in the Flux bootstrap command to connect to a GitHub repository.
flux bootstrap github --owner=[1] --repository=demo-repo --branch=main --path=./clusters/my-clusterThe --owner flag expects the GitHub user or organization name, here it should be my-org.
Fill both blanks to create a Flux Kustomization that applies manifests from the 'apps' directory every 5 minutes.
apiVersion: kustomize.toolkit.fluxcd.io/v1beta2 kind: Kustomization metadata: name: apps namespace: flux-system spec: interval: [1] path: [2] prune: true sourceRef: kind: GitRepository name: flux-system
The interval should be 5m for 5 minutes, and path should point to ./apps directory.
Fill all three blanks to define a Flux GitRepository resource connecting to a private repo with SSH authentication.
apiVersion: source.toolkit.fluxcd.io/v1beta2 kind: GitRepository metadata: name: flux-system namespace: flux-system spec: interval: [1] url: [2] secretRef: name: [3]
The interval is set to 1m for frequent sync, the url uses SSH format, and secretRef points to the SSH key secret flux-system-ssh.