-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Deprecate kyma provision gardener (#1060)
* Deprecate kyma provision gardener * fix list of zones * fix kubeconfig path * force k8s version to be a string * remove unused GARDENER_GARDENLINUX_VERSION * Fix typo * don't hibernate * remove unused check * don't hibernate --------- Co-authored-by: Marek Kołodziejczak <[email protected]>
- Loading branch information
1 parent
002d172
commit 1f071b5
Showing
5 changed files
with
115 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
apiVersion: core.gardener.cloud/v1beta1 | ||
kind: Shoot | ||
metadata: | ||
name: ${CLUSTER_NAME} | ||
spec: | ||
secretBindingName: ${GARDENER_PROVIDER_SECRET_NAME} | ||
cloudProfileName: aws | ||
region: ${GARDENER_REGION} | ||
purpose: evaluation | ||
provider: | ||
type: aws | ||
infrastructureConfig: | ||
apiVersion: aws.provider.extensions.gardener.cloud/v1alpha1 | ||
kind: InfrastructureConfig | ||
networks: | ||
vpc: | ||
cidr: 10.250.0.0/16 | ||
zones: | ||
- name: ${GARDENER_REGION}a | ||
internal: 10.250.48.0/20 | ||
public: 10.250.32.0/20 | ||
workers: 10.250.0.0/19 | ||
- name: ${GARDENER_REGION}b | ||
internal: 10.250.112.0/20 | ||
public: 10.250.96.0/20 | ||
workers: 10.250.64.0/19 | ||
- name: ${GARDENER_REGION}c | ||
internal: 10.250.176.0/20 | ||
public: 10.250.160.0/20 | ||
workers: 10.250.128.0/19 | ||
workers: | ||
- name: cpu-worker | ||
minimum: ${SCALER_MIN} | ||
maximum: ${SCALER_MAX} | ||
machine: | ||
type: ${MACHINE_TYPE} | ||
volume: | ||
type: ${DISK_TYPE} | ||
size: ${DISK_SIZE}Gi | ||
zones: | ||
- ${GARDENER_REGION}a | ||
- ${GARDENER_REGION}b | ||
- ${GARDENER_REGION}c | ||
networking: | ||
type: calico | ||
pods: 100.96.0.0/11 | ||
nodes: 10.250.0.0/16 | ||
services: 100.64.0.0/13 | ||
kubernetes: | ||
version: ${GARDENER_CLUSTER_VERSION} | ||
hibernation: | ||
enabled: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
apiVersion: core.gardener.cloud/v1beta1 | ||
kind: Shoot | ||
metadata: | ||
name: ${CLUSTER_NAME} | ||
spec: | ||
secretBindingName: ${GARDENER_PROVIDER_SECRET_NAME} | ||
cloudProfileName: gcp | ||
region: ${GARDENER_REGION} | ||
purpose: evaluation | ||
provider: | ||
type: gcp | ||
infrastructureConfig: | ||
apiVersion: gcp.provider.extensions.gardener.cloud/v1alpha1 | ||
kind: InfrastructureConfig | ||
networks: | ||
workers: 10.250.0.0/16 | ||
controlPlaneConfig: | ||
apiVersion: gcp.provider.extensions.gardener.cloud/v1alpha1 | ||
kind: ControlPlaneConfig | ||
zone: ${GARDENER_REGION}-a | ||
workers: | ||
- name: cpu-worker | ||
minimum: ${SCALER_MIN} | ||
maximum: ${SCALER_MAX} | ||
machine: | ||
type: ${MACHINE_TYPE} | ||
volume: | ||
type: ${DISK_TYPE} | ||
size: ${DISK_SIZE}Gi | ||
zones: | ||
- ${GARDENER_REGION}-a | ||
- ${GARDENER_REGION}-b | ||
- ${GARDENER_REGION}-c | ||
networking: | ||
type: calico | ||
pods: 100.96.0.0/11 | ||
nodes: 10.250.0.0/16 | ||
services: 100.64.0.0/13 | ||
kubernetes: | ||
version: "${GARDENER_CLUSTER_VERSION}" | ||
hibernation: | ||
enabled: false | ||
addons: | ||
nginxIngress: | ||
enabled: false |