Skip to content

Instantly share code, notes, and snippets.

@felixbuenemann
Created January 14, 2021 19:05
Show Gist options
  • Select an option

  • Save felixbuenemann/4146c402e5a929daee8adb8ca49e5c54 to your computer and use it in GitHub Desktop.

Select an option

Save felixbuenemann/4146c402e5a929daee8adb8ca49e5c54 to your computer and use it in GitHub Desktop.

Revisions

  1. felixbuenemann created this gist Jan 14, 2021.
    72 changes: 72 additions & 0 deletions cluster-spec-clean.yml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,72 @@
    apiVersion: kops.k8s.io/v1alpha2
    kind: Cluster
    metadata:
    creationTimestamp: "2018-06-15T09:48:03Z"
    generation: 14
    name: k8s-production.example.org
    spec:
    api:
    dns: {}
    authorization:
    rbac: {}
    channel: stable
    cloudProvider: aws
    configBase: s3://cluster.example.org/k8s-production.example.org
    containerRuntime: docker
    dnsZone: example.org
    etcdClusters:
    - cpuRequest: 200m
    etcdMembers:
    - instanceGroup: master-eu-central-1a
    name: a
    - instanceGroup: master-eu-central-1b
    name: b
    - instanceGroup: master-eu-central-1c
    name: c
    memoryRequest: 100Mi
    name: main
    - cpuRequest: 100m
    etcdMembers:
    - instanceGroup: master-eu-central-1a
    name: a
    - instanceGroup: master-eu-central-1b
    name: b
    - instanceGroup: master-eu-central-1c
    name: c
    memoryRequest: 100Mi
    name: events
    iam:
    allowContainerRegistry: true
    legacy: false
    kubelet:
    anonymousAuth: false
    kubernetesApiAccess:
    - 172.31.15.142/32
    kubernetesVersion: 1.18.14
    masterInternalName: api.internal.k8s-production.example.org
    masterPublicName: api.k8s-production.example.org
    networkCIDR: 172.31.0.0/16
    networkID: vpc-xxx
    networking:
    kubenet: {}
    nonMasqueradeCIDR: 100.64.0.0/10
    sshAccess:
    - 172.31.15.142/32
    subnets:
    - cidr: 172.31.64.0/19
    name: eu-central-1a
    type: Public
    zone: eu-central-1a
    - cidr: 172.31.96.0/19
    name: eu-central-1b
    type: Public
    zone: eu-central-1b
    - cidr: 172.31.128.0/19
    name: eu-central-1c
    type: Public
    zone: eu-central-1c
    topology:
    dns:
    type: Public
    masters: public
    nodes: public