Last active
May 10, 2019 15:24
-
-
Save michaelgugino/2d5c9c6611d20e58f77554c791b0a930 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| --- | |
| apiVersion: cluster.k8s.io/v1alpha1 | |
| kind: Cluster | |
| metadata: | |
| name: cluster-example | |
| spec: | |
| controllers: | |
| clustermanager: | |
| image: k8s.io/cluster-api/clustermanager:latest | |
| controlplane: | |
| image: k8s.io/cluster-api/controlplanemanager:latest | |
| infra: | |
| image: k8s.io/cluster-api/inframanager:latest | |
| bootstrap: | |
| image: k8s.io/cluster-api/bootstrapmanager:latest | |
| deploy: False # might make some pieces optional? | |
| machine: | |
| image: k8s.io/cluster-api/machinemanager:latest | |
| machineset/deployment/etc: | |
| image: k8s.io/cluster-api/machinesetmanager:latest | |
| clustermanagerSpec: | |
| node_groups: | |
| masters: | |
| master_set1: | |
| machineSet_ref: master-az1 | |
| master_set2: | |
| machineSet_ref: master-az2 | |
| master_set3: | |
| machineSet_ref: master-az3 | |
| workers: | |
| worker_set1: | |
| machineSet_ref: worker-az1 | |
| controlplane_bootstrap: | |
| providerSpec: {} | |
| infra: | |
| providerSpec: {} # various from infra provider to infra provider. | |
| machineSet_ref: | |
| - apiVersion: "cluster.k8s.io/v1alpha1" | |
| kind: MachineSet | |
| metadata: | |
| name: master-az1 | |
| spec: | |
| replicas: 3 | |
| selector: | |
| matchLabels: | |
| foo: bar | |
| bootstrap_ref: master-default # maybe support 'noop' if bootstrap not deployed/needed. | |
| template: | |
| metadata: | |
| labels: | |
| foo: bar | |
| spec: | |
| providerSpec: | |
| value: | |
| apiVersion: "gceproviderconfig/v1alpha1" | |
| kind: "GCEMachineProviderConfig" | |
| roles: | |
| - Node | |
| zone: "us-central1-f" | |
| machineType: "n1-standard-1" | |
| os: "ubuntu-1604-lts" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment