-
Notifications
You must be signed in to change notification settings - Fork 48
/
cluster.yaml
37 lines (37 loc) · 897 Bytes
/
cluster.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
apiVersion: cluster.k8s.io/v1alpha1
kind: Cluster
metadata:
name: example
namespace: weavek8sops
spec:
clusterNetwork:
pods:
cidrBlocks:
- 192.168.0.0/16
serviceDomain: cluster.local
services:
cidrBlocks:
- 10.96.0.0/12
providerSpec:
value:
apiVersion: baremetalproviderspec/v1alpha1
cri:
kind: docker
package: docker-ce
version: 18.09.7
kind: BareMetalClusterProviderSpec
os:
files:
- destination: /etc/yum.repos.d/kubernetes.repo
source:
configmap: repo
key: kubernetes.repo
- destination: /etc/yum.repos.d/docker-ce.repo
source:
configmap: repo
key: docker-ce.repo
- destination: /etc/docker/daemon.json
source:
configmap: docker
key: daemon.json
user: root