diff --git a/cross.yml b/cross.yml new file mode 100644 index 0000000..0dc96e1 --- /dev/null +++ b/cross.yml @@ -0,0 +1,14 @@ +apiVersion: ec2.aws.crossplane.io/v1alpha1 +kind: Instance +metadata: + name: sample-instance +spec: + forProvider: + region: us-east-1 + imageId: ami-0dc2d3e4c0f9ebd18 + securityGroupRefs: + - name: sample-cluster-sg + subnetIdRef: + name: sample-subnet1 + providerConfigRef: + name: example diff --git a/kustomize-demo/nginx-deployment.yaml b/kustomize-demo/nginx-deployment.yaml index a82f4fe..9b3804d 100644 --- a/kustomize-demo/nginx-deployment.yaml +++ b/kustomize-demo/nginx-deployment.yaml @@ -5,7 +5,7 @@ metadata: app: nginx name: nginx spec: - replicas: 1 + replicas: 2 selector: matchLabels: app: nginx diff --git a/yamls/nginx.yaml b/yamls/nginx.yaml index a82f4fe..c860844 100644 --- a/yamls/nginx.yaml +++ b/yamls/nginx.yaml @@ -5,7 +5,7 @@ metadata: app: nginx name: nginx spec: - replicas: 1 + replicas: 4 selector: matchLabels: app: nginx