Created
August 26, 2019 07:15
-
-
Save hidekazuna/300411ae5afe7d9625a476893b0db25b 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: Cluster | |
metadata: | |
name: test-cluster | |
namespace: default | |
spec: | |
clusterNetwork: | |
services: | |
cidrBlocks: ["10.96.0.0/12"] | |
pods: | |
cidrBlocks: ["192.168.0.0/16"] | |
serviceDomain: "cluster.local" | |
infrastructureRef: | |
kind: OpenStackCluster | |
apiVersion: infrastructure.cluster.x-k8s.io/v1alpha2 | |
name: test-cluster | |
namespace: default | |
--- | |
apiVersion: infrastructure.cluster.x-k8s.io/v1alpha2 | |
kind: OpenStackCluster | |
metadata: | |
name: test-cluster | |
namespace: default | |
spec: | |
tags: | |
- a_cluster_wide_tag | |
cloudName: openstack | |
cloudsSecret: | |
name: cloud-config | |
namespace: capo-system | |
useOctavia: true | |
nodeCidr: "172.16.1.0/24" | |
managedAPIServerLoadBalancer: true | |
apiServerLoadBalancerFloatingIP: 10.0.0.214 | |
apiServerLoadBalancerPort: 6443 | |
dnsNameservers: | |
- 10.0.0.11 | |
#masterIP: 10.0.0.214 | |
externalNetworkId: 5f11f552-7254-47ac-bda3-e8c03b1443cd | |
externalRouterIPs: | |
- fixedIP: 10.0.0.215 | |
subnet: | |
filter: | |
name: provider | |
clusterConfiguration: | |
controlPlaneEndpoint: 10.0.0.214:6443 | |
kubernetesVersion: 1.15.0 | |
imageRepository: k8s.gcr.io | |
certificatesDir: /etc/kubernetes/pki | |
dns: | |
type: "CoreDNS" | |
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