Example Kubernetes CRD manifests for deploying Control Plane resources using the Control Plane Kubernetes Operator.
- Kubernetes cluster with the Control Plane Operator installed
- Authentication configured (see operator installation guide)
| File | Description |
|---|---|
gvc.yaml |
Creates a GVC named hello-world in aws-eu-central-1 |
workload.yaml |
Creates a serverless workload running nginx |
Update the org field in both files to match your Control Plane organization name.
kubectl apply -f gvc.yaml
kubectl apply -f workload.yamlCreate an ArgoCD Application pointing to this repository:
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: cpln-example
namespace: argocd
spec:
project: default
destination:
server: https://kubernetes.default.svc
namespace: default
source:
repoURL: https://github.com/MajidAbuRmila/cpln-crd-example.git
path: .
targetRevision: main
syncPolicy:
automated:
prune: true
selfHeal: trueOnce applied, the following Control Plane resources will be created:
- GVC:
hello-worlddeployed toaws-eu-central-1 - Workload:
hello-worldrunningnginx:latestwith autoscaling (1-3 replicas)