Created
August 26, 2019 07:17
-
-
Save hidekazuna/48367498dac2bc4ed076b902b75a74b5 to your computer and use it in GitHub Desktop.
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.x-k8s.io/v1alpha2 | |
kind: Machine | |
metadata: | |
name: test-cluster-kube-master-01 | |
labels: | |
cluster.x-k8s.io/cluster-name: test-cluster | |
cluster.x-k8s.io/control-plane: "true" | |
spec: | |
bootstrap: | |
configRef: | |
kind: KubeadmConfig | |
apiVersion: bootstrap.cluster.x-k8s.io/v1alpha2 | |
namespace: default | |
name: test-cluster-config | |
infrastructureRef: | |
kind: OpenStackMachine | |
apiVersion: infrastructure.cluster.x-k8s.io/v1alpha2 | |
namespace: default | |
name: test-cluster-kube-master-01 | |
version: "1.15.0" | |
--- | |
apiVersion: infrastructure.cluster.x-k8s.io/v1alpha2 | |
kind: OpenStackMachine | |
metadata: | |
name: test-cluster-kube-master-01 | |
spec: | |
cloudName: openstack | |
flavor: small | |
image: u1804 | |
keyName: cluster-api-provider-openstack | |
availabilityZone: nova | |
networks: | |
- filter: | |
name: k8s-clusterapi-cluster-default-test-cluster | |
subnets: | |
- filter: | |
name: k8s-clusterapi-cluster-default-test-cluster | |
# floatingIP: <Available Floating IP> | |
securityGroups: | |
- uuid: 10adb7a1-5e5e-48da-aea2-d4e84a0b8ef3 | |
- uuid: 3b85495e-d51b-4f19-97fb-62f7ab645401 | |
userDataSecret: | |
name: master-user-data | |
namespace: openstack-provider-system | |
trunk: false | |
tags: | |
- a-machine-specific-tag | |
serverMetadata: | |
key: value | |
--- | |
apiVersion: bootstrap.cluster.x-k8s.io/v1alpha2 | |
kind: KubeadmConfig | |
metadata: | |
name: test-cluster-config | |
spec: | |
clusterConfiguration: | |
certificatesDir: /etc/kubernetes/pki | |
controlPlaneEndpoint: "10.0.0.214:6443" | |
dns: | |
type: "CoreDNS" | |
imageRepository: "k8s.gcr.io" | |
kubernetesVersion: 1.15.0 | |
networking: | |
dnsDomain: "cluster.local" | |
podSubnet: "192.168.0.0/16" | |
serviceSubnet: "10.96.0.0/12" | |
etcd: | |
local: | |
dataDir: "/var/lib/etcd" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment