sigs.k8s.io/cluster-api-provider-aws@v1.5.5/test/e2e/data/e2e_eks_conf.yaml (about) 1 --- 2 # E2E test scenario using local dev images and manifests built from the source tree for following providers: 3 # - cluster-api 4 # - infrastructure aws 5 6 # To run tests, run the following from the root of this repository. 7 # `AWS_REGION=eu-west-1 make e2e GINKGO_ARGS=-stream E2E_ARGS=-skip-cloudformation-deletion` 8 # The -stream flag will make Ginkgo print results to the screen in real-time. 9 # -skip-cloudformation-deletion reduces the time taken to set up AWS CloudFormation prior to cluster start. 10 11 # AWS credentials must be present for running tests 12 # For more details, run `go run ./cmd/clusterawsadm bootstrap credentials` 13 14 images: 15 # Use local dev images built source tree; 16 - name: gcr.io/k8s-staging-cluster-api/capa-manager:e2e 17 loadBehavior: mustLoad 18 19 ## PLEASE KEEP THESE UP TO DATE WITH THE COMPONENTS 20 - name: quay.io/jetstack/cert-manager-cainjector:v1.7.2 21 loadBehavior: tryLoad 22 - name: quay.io/jetstack/cert-manager-webhook:v1.7.2 23 loadBehavior: tryLoad 24 - name: quay.io/jetstack/cert-manager-controller:v1.7.2 25 loadBehavior: tryLoad 26 - name: registry.k8s.io/cluster-api/cluster-api-controller:v1.1.5 27 loadBehavior: tryLoad 28 - name: registry.k8s.io/cluster-api/kubeadm-bootstrap-controller:v1.1.5 29 loadBehavior: tryLoad 30 - name: registry.k8s.io/cluster-api/kubeadm-control-plane-controller:v1.1.5 31 loadBehavior: tryLoad 32 33 34 providers: 35 - name: cluster-api 36 type: CoreProvider 37 versions: 38 - name: v0.3.23 # latest published release in the v1alpha3 series; this is used for v1alpha3 --> v1beta1 clusterctl upgrades test only. 39 contract: v1alpha3 40 value: "https://github.com/kubernetes-sigs/cluster-api/releases/download/v0.3.23/core-components.yaml" 41 type: "url" 42 files: 43 - sourcePath: "./shared/v1alpha3/metadata.yaml" 44 replacements: 45 - old: "imagePullPolicy: Always" 46 new: "imagePullPolicy: IfNotPresent" 47 - old: --metrics-bind-addr=127.0.0.1:8080 48 new: --metrics-bind-addr=:8080 49 - name: v0.4.8 # latest published release in the v1alpha4 series; this is used for v1alpha4 --> v1beta1 clusterctl upgrades test only. 50 contract: v1alpha4 51 value: "https://github.com/kubernetes-sigs/cluster-api/releases/download/v0.4.8/core-components.yaml" 52 type: "url" 53 files: 54 - sourcePath: "./shared/v1alpha4/metadata.yaml" 55 replacements: 56 - old: "imagePullPolicy: Always" 57 new: "imagePullPolicy: IfNotPresent" 58 - old: --metrics-bind-addr=127.0.0.1:8080 59 new: --metrics-bind-addr=:8080 60 - name: v1.1.5 61 value: "https://github.com/kubernetes-sigs/cluster-api/releases/download/v1.1.5/core-components.yaml" 62 type: "url" 63 contract: v1beta1 64 files: 65 - sourcePath: "./shared/v1beta1/metadata.yaml" 66 replacements: 67 - old: "imagePullPolicy: Always" 68 new: "imagePullPolicy: IfNotPresent" 69 - old: --metrics-bind-addr=127.0.0.1:8080 70 new: --metrics-bind-addr=:8080 71 - name: kubeadm 72 type: BootstrapProvider 73 files: 74 - sourcePath: "./shared/v1alpha4/metadata.yaml" 75 versions: 76 - name: v0.3.23 # latest published release in the v1alpha3 series; this is used for v1alpha3 --> v1beta1 clusterctl upgrades test only. 77 value: "https://github.com/kubernetes-sigs/cluster-api/releases/download/v0.3.23/bootstrap-components.yaml" 78 type: "url" 79 contract: v1alpha3 80 files: 81 - sourcePath: "./shared/v1alpha3/metadata.yaml" 82 replacements: 83 - old: --metrics-addr=127.0.0.1:8080 84 new: --metrics-addr=:8080 85 - name: v0.4.8 # latest published release in the v1alpha4 series; this is used for v1alpha4 --> v1beta1 clusterctl upgrades test only. 86 value: "https://github.com/kubernetes-sigs/cluster-api/releases/download/v0.4.8/bootstrap-components.yaml" 87 type: "url" 88 contract: v1alpha4 89 files: 90 - sourcePath: "./shared/v1alpha4/metadata.yaml" 91 replacements: 92 - old: "imagePullPolicy: Always" 93 new: "imagePullPolicy: IfNotPresent" 94 - old: --metrics-bind-addr=127.0.0.1:8080 95 new: --metrics-bind-addr=:8080 96 - name: v1.1.5 97 value: "https://github.com/kubernetes-sigs/cluster-api/releases/download/v1.1.5/bootstrap-components.yaml" 98 type: "url" 99 contract: v1beta1 100 files: 101 - sourcePath: "./shared/v1beta1/metadata.yaml" 102 replacements: 103 - old: "imagePullPolicy: Always" 104 new: "imagePullPolicy: IfNotPresent" 105 - old: --metrics-bind-addr=127.0.0.1:8080 106 new: --metrics-bind-addr=:8080 107 - name: kubeadm 108 type: ControlPlaneProvider 109 files: 110 - sourcePath: "./shared/v1alpha4/metadata.yaml" 111 versions: 112 - name: v0.3.23 # latest published release in the v1alpha3 series; this is used for v1alpha3 --> v1beta1 clusterctl upgrades test only. 113 value: "https://github.com/kubernetes-sigs/cluster-api/releases/download/v0.3.23/control-plane-components.yaml" 114 type: "url" 115 contract: v1alpha3 116 files: 117 - sourcePath: "./shared/v1alpha3/metadata.yaml" 118 replacements: 119 - old: --metrics-addr=127.0.0.1:8080 120 new: --metrics-addr=:8080 121 - name: v0.4.8 # latest published release in the v1alpha4 series; this is used for v1alpha4 --> v1beta1 clusterctl upgrades test only. 122 # Use manifest from source files 123 value: "https://github.com/kubernetes-sigs/cluster-api/releases/download/v0.4.8/control-plane-components.yaml" 124 type: "url" 125 contract: v1alpha4 126 files: 127 - sourcePath: "./shared/v1alpha4/metadata.yaml" 128 replacements: 129 - old: "imagePullPolicy: Always" 130 new: "imagePullPolicy: IfNotPresent" 131 - old: --metrics-bind-addr=127.0.0.1:8080 132 new: --metrics-bind-addr=:8080 133 - name: v1.1.5 134 value: "https://github.com/kubernetes-sigs/cluster-api/releases/download/v1.1.5/control-plane-components.yaml" 135 type: "url" 136 contract: v1beta1 137 files: 138 - sourcePath: "./shared/v1beta1/metadata.yaml" 139 replacements: 140 - old: "imagePullPolicy: Always" 141 new: "imagePullPolicy: IfNotPresent" 142 - old: --metrics-bind-addr=127.0.0.1:8080 143 new: --metrics-bind-addr=:8080 144 - name: aws 145 type: InfrastructureProvider 146 versions: 147 - name: v1.4.99 148 # Use manifest from source files 149 value: ../../../config/default 150 contract: v1beta1 151 files: 152 - sourcePath: "./shared/v1beta1_provider/metadata.yaml" 153 replacements: 154 - old: "imagePullPolicy: Always" 155 new: "imagePullPolicy: IfNotPresent" 156 - old: --metrics-bind-addr=127.0.0.1:8080 157 new: --metrics-bind-addr=:8080 158 - old: gcr.io/k8s-staging-cluster-api/cluster-api-aws-controller-amd64:dev 159 new: gcr.io/k8s-staging-cluster-api/capa-manager:e2e 160 - old: gcr.io/k8s-staging-cluster-api-aws/cluster-api-aws-controller:latest 161 new: gcr.io/k8s-staging-cluster-api/capa-manager:e2e 162 files: 163 - sourcePath: "./eks/cluster-template-eks-control-plane-only.yaml" 164 targetName: "cluster-template-eks-control-plane-only.yaml" 165 - sourcePath: "./eks/cluster-template-eks-control-plane-only-withaddon.yaml" 166 targetName: "cluster-template-eks-control-plane-only-withaddon.yaml" 167 - sourcePath: "./eks/cluster-template-eks-machine-deployment-only.yaml" 168 targetName: "cluster-template-eks-machine-deployment-only.yaml" 169 - sourcePath: "./eks/cluster-template-eks-managed-machinepool-only.yaml" 170 targetName: "cluster-template-eks-managed-machinepool-only.yaml" 171 - sourcePath: "./eks/cluster-template-eks-managedmachinepool.yaml" 172 targetName: "cluster-template-eks-managedmachinepool.yaml" 173 174 variables: 175 KUBERNETES_VERSION: "v1.22.9" 176 KUBERNETES_VERSION_MANAGEMENT: "v1.22.9" # Kind bootstrap 177 EXP_MACHINE_POOL: "true" 178 EXP_CLUSTER_RESOURCE_SET: "true" 179 AWS_NODE_MACHINE_TYPE: t3.large 180 AWS_MACHINE_TYPE_VCPU_USAGE: 2 181 AWS_SSH_KEY_NAME: "cluster-api-provider-aws-sigs-k8s-io" 182 EXP_EKS_IAM: "false" 183 EXP_EKS_ADD_ROLES: "false" 184 VPC_ADDON_VERSION: "v1.11.0-eksbuild.1" 185 COREDNS_ADDON_VERSION: "v1.8.7-eksbuild.1" 186 CONFORMANCE_CI_ARTIFACTS_KUBERNETES_VERSION: "1.22.9" 187 AUTO_CONTROLLER_IDENTITY_CREATOR: "false" 188 IP_FAMILY: "IPv4" 189 CAPA_LOGLEVEL: "4" 190 EXP_EXTERNAL_RESOURCE_GC: "true" 191 GC_WORKLOAD: "../../data/gcworkload.yaml" 192 193 intervals: 194 default/wait-cluster: ["30m", "10s"] 195 default/wait-control-plane: ["35m", "10s"] 196 default/wait-worker-nodes: ["30m", "10s"] 197 default/wait-controllers: ["5m", "10s"] 198 default/wait-delete-cluster: ["35m", "30s"] 199 default/wait-delete-machine: ["10m", "10s"] 200 default/wait-delete-machine-deployment: ["10m", "10s"] 201 default/wait-delete-machine-pool: ["20m", "10s"] 202 default/wait-machine-upgrade: ["20m", "10s"] 203 default/wait-machine-status: ["20m", "10s"] 204 default/wait-infra-subnets: ["5m", "30s"] 205 default/wait-control-plane-upgrade: ["35m", "30s"] 206 default/wait-addon-status: ["10m", "30s"] 207 default/wait-create-identity: ["1m", "10s"] 208 default/wait-deployment-ready: ["5m", "10s"] 209 default/wait-loadbalancer-ready: ["5m", "30s"]