Created
May 9, 2019 19:35
-
-
Save ncdc/cd71d87c97329630a435c62b476069b7 to your computer and use it in GitHub Desktop.
Cluster API 9 May 2019 webinar example yaml files
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
apiVersion: "cluster.k8s.io/v1alpha1" | |
kind: Cluster | |
metadata: | |
name: demo1 | |
spec: | |
clusterNetwork: | |
services: | |
cidrBlocks: ["10.96.0.0/12"] | |
pods: | |
cidrBlocks: ["192.168.0.0/16"] | |
serviceDomain: "cluster.local" | |
providerSpec: | |
value: | |
apiVersion: "awsprovider/v1alpha1" | |
kind: "AWSClusterProviderSpec" | |
region: "us-east-1" | |
sshKeyName: "default" |
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
apiVersion: "cluster.k8s.io/v1alpha1" | |
kind: Machine | |
metadata: | |
name: controlplane-0 | |
labels: | |
cluster.k8s.io/cluster-name: demo1 | |
set: controlplane | |
spec: | |
versions: | |
kubelet: v1.14.1 | |
controlPlane: v1.14.1 | |
providerSpec: | |
value: | |
apiVersion: awsprovider/v1alpha1 | |
kind: AWSMachineProviderSpec | |
instanceType: "m5.large" | |
iamInstanceProfile: "control-plane.cluster-api-provider-aws.sigs.k8s.io" | |
keyName: "default" |
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
apiVersion: "cluster.k8s.io/v1alpha1" | |
kind: MachineDeployment | |
metadata: | |
name: sample-machinedeployment | |
labels: | |
cluster.k8s.io/cluster-name: demo1 | |
spec: | |
replicas: 3 | |
selector: | |
matchLabels: | |
cluster.k8s.io/cluster-name: demo1 | |
set: node | |
template: | |
metadata: | |
labels: | |
cluster.k8s.io/cluster-name: demo1 | |
set: node | |
spec: | |
versions: | |
kubelet: v1.14.1 | |
providerSpec: | |
value: | |
apiVersion: awsprovider/v1alpha1 | |
kind: AWSMachineProviderSpec | |
instanceType: "m5.large" | |
iamInstanceProfile: "nodes.cluster-api-provider-aws.sigs.k8s.io" | |
keyName: "default" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment