sigs.k8s.io/cluster-api-provider-aws@v1.5.5/test/e2e/data/e2e_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 # - bootstrap kubeadm 5 # - control-plane kubeadm 6 # - aws 7 8 # To run tests, run the following from the root of this repository. 9 # `AWS_REGION=eu-west-1 make e2e GINKGO_ARGS=-stream E2E_ARGS=-skip-cloudformation-deletion` 10 # The -stream flag will make Ginkgo print results to the screen in real-time. 11 # -skip-cloudformation-deletion reduces the time taken to set up AWS CloudFormation prior to cluster start. 12 13 # AWS credentials must be present for running tests 14 # For more details, run `go run ./cmd/clusterawsadm bootstrap credentials` 15 16 images: 17 # Use local dev images built source tree; 18 - name: gcr.io/k8s-staging-cluster-api/capa-manager:e2e 19 loadBehavior: mustLoad 20 21 ## PLEASE KEEP THESE UP TO DATE WITH THE COMPONENTS 22 23 # Cluster API v1beta1 Preloads 24 - name: quay.io/jetstack/cert-manager-cainjector:v1.7.2 25 loadBehavior: tryLoad 26 - name: quay.io/jetstack/cert-manager-webhook:v1.7.2 27 loadBehavior: tryLoad 28 - name: quay.io/jetstack/cert-manager-controller:v1.7.2 29 loadBehavior: tryLoad 30 - name: registry.k8s.io/cluster-api/cluster-api-controller:v1.1.5 31 loadBehavior: tryLoad 32 - name: registry.k8s.io/cluster-api/kubeadm-bootstrap-controller:v1.1.5 33 loadBehavior: tryLoad 34 - name: registry.k8s.io/cluster-api/kubeadm-control-plane-controller:v1.1.5 35 loadBehavior: tryLoad 36 37 providers: 38 - name: cluster-api 39 type: CoreProvider 40 versions: 41 - name: v0.4.8 # latest published release in the v1alpha4 series; this is used for v1alpha4 --> v1beta1 clusterctl upgrades test only. 42 contract: v1alpha4 43 value: "https://github.com/kubernetes-sigs/cluster-api/releases/download/v0.4.8/core-components.yaml" 44 type: "url" 45 files: 46 - sourcePath: "./shared/v1alpha4/metadata.yaml" 47 replacements: 48 - old: "imagePullPolicy: Always" 49 new: "imagePullPolicy: IfNotPresent" 50 - old: --metrics-bind-addr=127.0.0.1:8080 51 new: --metrics-bind-addr=:8080 52 - name: v1.1.5 # latest published release in the v1beta1 series; this is used for v1beta1 --> main clusterctl upgrades test only. 53 value: "https://github.com/kubernetes-sigs/cluster-api/releases/download/v1.1.5/core-components.yaml" 54 type: "url" 55 contract: v1beta1 56 files: 57 - sourcePath: "./shared/v1beta1/metadata.yaml" 58 replacements: 59 - old: "imagePullPolicy: Always" 60 new: "imagePullPolicy: IfNotPresent" 61 - old: --metrics-bind-addr=127.0.0.1:8080 62 new: --metrics-bind-addr=:8080 63 - name: kubeadm 64 type: BootstrapProvider 65 files: 66 - sourcePath: "./shared/v1alpha4/metadata.yaml" 67 versions: 68 - name: v0.4.8 # latest published release in the v1alpha4 series; this is used for v1alpha4 --> v1beta1 clusterctl upgrades test only. 69 value: "https://github.com/kubernetes-sigs/cluster-api/releases/download/v0.4.8/bootstrap-components.yaml" 70 type: "url" 71 contract: v1alpha4 72 files: 73 - sourcePath: "./shared/v1alpha4/metadata.yaml" 74 replacements: 75 - old: "imagePullPolicy: Always" 76 new: "imagePullPolicy: IfNotPresent" 77 - old: --metrics-bind-addr=127.0.0.1:8080 78 new: --metrics-bind-addr=:8080 79 - name: v1.1.5 # latest published release in the v1beta1 series; this is used for v1beta1 --> main clusterctl upgrades test only. 80 value: "https://github.com/kubernetes-sigs/cluster-api/releases/download/v1.1.5/bootstrap-components.yaml" 81 type: "url" 82 contract: v1beta1 83 files: 84 - sourcePath: "./shared/v1beta1/metadata.yaml" 85 replacements: 86 - old: "imagePullPolicy: Always" 87 new: "imagePullPolicy: IfNotPresent" 88 - old: --metrics-bind-addr=127.0.0.1:8080 89 new: --metrics-bind-addr=:8080 90 - name: kubeadm 91 type: ControlPlaneProvider 92 files: 93 - sourcePath: "./shared/v1alpha4/metadata.yaml" 94 versions: 95 - name: v0.4.8 # latest published release in the v1alpha4 series; this is used for v1alpha4 --> v1beta1 clusterctl upgrades test only. 96 # Use manifest from source files 97 value: "https://github.com/kubernetes-sigs/cluster-api/releases/download/v0.4.8/control-plane-components.yaml" 98 type: "url" 99 contract: v1alpha4 100 files: 101 - sourcePath: "./shared/v1alpha4/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: v1.1.5 # latest published release in the v1beta1 series; this is used for v1beta1 --> main clusterctl upgrades test only. 108 value: "https://github.com/kubernetes-sigs/cluster-api/releases/download/v1.1.5/control-plane-components.yaml" 109 type: "url" 110 contract: v1beta1 111 files: 112 - sourcePath: "./shared/v1beta1/metadata.yaml" 113 replacements: 114 - old: "imagePullPolicy: Always" 115 new: "imagePullPolicy: IfNotPresent" 116 - old: --metrics-bind-addr=127.0.0.1:8080 117 new: --metrics-bind-addr=:8080 118 - name: aws 119 type: InfrastructureProvider 120 versions: 121 - name: v0.7.2 # latest published release in the v1alpha4 series; this is used for v1alpha4 --> v1beta1 clusterctl upgrades test only. 122 value: "https://github.com/kubernetes-sigs/cluster-api-provider-aws/releases/download/v0.7.2/infrastructure-components.yaml" 123 type: "url" 124 contract: v1alpha4 125 files: 126 - sourcePath: "./shared/v1alpha4_provider/metadata.yaml" 127 - sourcePath: "./infrastructure-aws/capi-upgrades/v1alpha4/cluster-template.yaml" 128 - name: v1.4.99 129 # Use manifest from source files 130 value: ../../../config/default 131 contract: v1beta1 132 files: 133 - sourcePath: "./infrastructure-aws/generated/cluster-template-efs-support.yaml" 134 - sourcePath: "./infrastructure-aws/generated/cluster-template-external-csi.yaml" 135 - sourcePath: "./infrastructure-aws/generated/cluster-template-csimigration-off.yaml" 136 - sourcePath: "./infrastructure-aws/generated/cluster-template-external-cloud-provider.yaml" 137 - sourcePath: "./infrastructure-aws/generated/cluster-template-kcp-remediation.yaml" 138 - sourcePath: "./infrastructure-aws/generated/cluster-template-kcp-scale-in.yaml" 139 - sourcePath: "./infrastructure-aws/generated/cluster-template-limit-az.yaml" 140 - sourcePath: "./infrastructure-aws/generated/cluster-template-machine-pool.yaml" 141 - sourcePath: "./infrastructure-aws/generated/cluster-template-md-remediation.yaml" 142 - sourcePath: "./infrastructure-aws/generated/cluster-template-multi-az.yaml" 143 - sourcePath: "./infrastructure-aws/generated/cluster-template-nested-multitenancy.yaml" 144 - sourcePath: "./infrastructure-aws/generated/cluster-template-remote-management-cluster.yaml" 145 - sourcePath: "./infrastructure-aws/generated/cluster-template-simple-multitenancy.yaml" 146 - sourcePath: "./infrastructure-aws/generated/cluster-template-spot-instances.yaml" 147 - sourcePath: "./infrastructure-aws/generated/cluster-template-ssm.yaml" 148 - sourcePath: "./infrastructure-aws/generated/cluster-template-topology.yaml" 149 - sourcePath: "./infrastructure-aws/generated/cluster-template-upgrade-to-main.yaml" 150 - sourcePath: "./infrastructure-aws/generated/cluster-template.yaml" 151 - sourcePath: "./infrastructure-aws/generated/cluster-template-gpu.yaml" 152 - sourcePath: "./infrastructure-aws/generated/cluster-template-upgrades.yaml" 153 - sourcePath: "./infrastructure-aws/generated/cluster-template-peered-remote.yaml" 154 - sourcePath: "./infrastructure-aws/generated/cluster-template-internal-elb.yaml" 155 - sourcePath: "./infrastructure-aws/kustomize_sources/topology/clusterclass-quick-start.yaml" 156 - sourcePath: "./infrastructure-aws/generated/cluster-template-nested-multitenancy-clusterclass.yaml" 157 - sourcePath: "./infrastructure-aws/kustomize_sources/nested-multitenancy-clusterclass/clusterclass-multi-tenancy.yaml" 158 - sourcePath: "./shared/v1beta1_provider/metadata.yaml" 159 - sourcePath: "./infrastructure-aws/generated/cluster-template-ignition.yaml" 160 replacements: 161 # To allow bugs to be catched. 162 - old: "failureThreshold: 3" 163 new: "failureThreshold: 12" 164 - old: "imagePullPolicy: Always" 165 new: "imagePullPolicy: IfNotPresent" 166 - old: --metrics-bind-addr=127.0.0.1:8080 167 new: --metrics-bind-addr=:8080 168 - old: gcr.io/k8s-staging-cluster-api/cluster-api-aws-controller-amd64:dev 169 new: gcr.io/k8s-staging-cluster-api/capa-manager:e2e 170 - old: gcr.io/k8s-staging-cluster-api-aws/cluster-api-aws-controller:latest 171 new: gcr.io/k8s-staging-cluster-api/capa-manager:e2e 172 173 variables: 174 # Default variables for the e2e test; those values could be overridden via env variables, thus 175 # allowing the same e2e config file to be re-used in different Prow jobs e.g. each one with a K8s version permutation. 176 # The following Kubernetes versions should be the latest versions with already published kindest/node images. 177 # This avoids building node images in the default case which improves the test duration significantly. 178 KUBERNETES_VERSION_MANAGEMENT: "v1.24.0" 179 KUBERNETES_VERSION: "v1.24.0" 180 KUBERNETES_VERSION_UPGRADE_TO: "v1.24.0" 181 KUBERNETES_VERSION_UPGRADE_FROM: "v1.23.6" 182 # Pre and post 1.23 Kubernetes versions are being used for CSI upgrade tests 183 PRE_1_23_KUBERNETES_VERSION: "v1.22.4" 184 POST_1_23_KUBERNETES_VERSION: "v1.23.3" 185 CNI: "../../data/cni/calico.yaml" 186 KUBETEST_CONFIGURATION: "../../data/kubetest/conformance.yaml" 187 EVENT_BRIDGE_INSTANCE_STATE: "false" 188 AWS_CONTROL_PLANE_MACHINE_TYPE: t3.large 189 AWS_NODE_MACHINE_TYPE: t3.large 190 AWS_MACHINE_TYPE_VCPU_USAGE: 2 191 AWS_SSH_KEY_NAME: "cluster-api-provider-aws-sigs-k8s-io" 192 CONFORMANCE_CI_ARTIFACTS_KUBERNETES_VERSION: "v1.24.4" 193 CONFORMANCE_WORKER_MACHINE_COUNT: "5" 194 CONFORMANCE_CONTROL_PLANE_MACHINE_COUNT: "1" 195 ETCD_VERSION_UPGRADE_TO: "3.5.3-0" 196 COREDNS_VERSION_UPGRADE_TO: "v1.8.6" 197 MULTI_TENANCY_ROLE_NAME: "multi-tenancy-role" 198 MULTI_TENANCY_NESTED_ROLE_NAME: "multi-tenancy-nested-role" 199 IP_FAMILY: "IPv4" 200 CAPA_LOGLEVEL: "4" 201 # Enabling the feature flags by setting the env variables. 202 EXP_CLUSTER_RESOURCE_SET: "true" 203 EXP_MACHINE_POOL: "true" 204 CLUSTER_TOPOLOGY: "true" 205 INIT_WITH_BINARY_V1BETA1: "https://github.com/kubernetes-sigs/cluster-api/releases/download/v1.1.5/clusterctl-{OS}-{ARCH}" 206 INIT_WITH_BINARY_V1ALPHA4: "https://github.com/kubernetes-sigs/cluster-api/releases/download/v0.4.7/clusterctl-{OS}-{ARCH}" 207 # INIT_WITH_KUBERNETES_VERSION are only used by the clusterctl upgrade test to initialize 208 # the management cluster to be upgraded. 209 INIT_WITH_KUBERNETES_VERSION: "v1.24.0" 210 EXP_BOOTSTRAP_FORMAT_IGNITION: "true" 211 EXP_KUBEADM_BOOTSTRAP_FORMAT_IGNITION: "true" 212 EXP_EXTERNAL_RESOURCE_GC: "true" 213 GC_WORKLOAD: "../../data/gcworkload.yaml" 214 215 intervals: 216 default/wait-cluster: ["30m", "10s"] 217 default/wait-control-plane: ["25m", "10s"] 218 default/wait-worker-nodes: ["20m", "10s"] 219 conformance/wait-control-plane: ["35m", "10s"] 220 conformance/wait-worker-nodes: ["35m", "10s"] 221 default/wait-controllers: ["5m", "10s"] 222 default/wait-delete-cluster: ["20m", "10s"] 223 default/wait-machine-upgrade: ["30m", "10s"] 224 default/wait-contolplane-upgrade: ["40m", "10s"] 225 default/wait-machine-status: ["20m", "10s"] 226 default/wait-failed-machine-status: ["2m", "10s"] 227 default/wait-infra-subnets: ["5m", "30s"] 228 default/wait-machine-pool-nodes: ["40m", "10s"] 229 default/wait-machine-pool-upgrade: [ "50m", "10s" ] 230 default/wait-create-identity: ["1m", "10s"] 231 default/wait-job: ["10m", "10s"] 232 default/wait-deployment-ready: ["5m", "10s"] 233 default/wait-loadbalancer-ready: ["5m", "30s"]