forked from Netcracker/KubeMarine
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathallinone-cluster-ol7.yaml
79 lines (72 loc) · 1.9 KB
/
allinone-cluster-ol7.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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
node_defaults:
keyfile: /home/user/id_rsa
password: '{{ env.PASS }}' #Either keyfile or password can be used.
username: cloud-user
vrrp_ips:
- ip: "192.168.1.200"
nodes:
- name: "k8s3"
address: "10.101.0.2"
internal_address: "192.168.1.9"
roles: ["control-plane", "worker", "balancer"]
cluster_name: "k8s.oracle.com"
services:
resolv.conf:
nameservers:
- 1.1.1.1
- 1.0.0.1
ntp:
# For RHEL OS use chrony:
chrony:
servers:
- 0.de.pool.ntp.org iburst
- 1.de.pool.ntp.org iburst
makestep: 5 10
rtcsync: True
packages:
package_manager:
replace-repositories: false
repositories:
# Own OL7 repositories need to be described in cluster.yaml, if they are disabled in OS.
ol7_addons:
name: "Oracle Linux Addons"
enabled: 1
gpgcheck: 0
baseurl: "https://yum.oracle.com/repo/OracleLinux/OL7/addons/x86_64/"
ol7_latest:
name: "Oracle Linux Latest"
enabled: 1
gpgcheck: 0
baseurl: "https://yum.oracle.com/repo/OracleLinux/OL7/latest/x86_64"
docker-ce:
name: "CentOS 7 Docker-CE"
enabled: 1
gpgcheck: 0
baseurl: "https://download.docker.com/linux/centos/7/x86_64/stable/"
centos-sclo-haproxy18:
name: "CentOS SCLO rh-haproxy18"
enabled: 1
gpgcheck: 0
baseurl: "http://mirror.centos.org/centos/7/sclo/x86_64/rh/"
install:
- conntrack-tools
- kmod
- ethtool
- ebtables
- socat
- curl
- openssl
- unzip
- policycoreutils-python
associations:
containerd:
package_name:
- 'containerd.io-1.4.6*'
- 'podman-1.4.4*'
rbac:
accounts:
- name: superadmin
role: cluster-admin
plugins:
kubernetes-dashboard:
install: true