This repository has been archived by the owner on Nov 2, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
cluster.yml
81 lines (69 loc) · 1.69 KB
/
cluster.yml
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
80
81
---
nodes:
- address: vmnuvem1.sj.ifsc.edu.br
role: [controlplane,worker,etcd]
hostname_override: vmnuvem1
user: root
ssh_key_path: ~/.ssh/id_rsa
- address: vmnuvem2.sj.ifsc.edu.br
role: [controlplane,worker,etcd]
hostname_override: vmnuvem2
user: root
ssh_key_path: ~/.ssh/id_rsa
- address: vmnuvem3.sj.ifsc.edu.br
role: [controlplane,worker,etcd]
hostname_override: vmnuvem3
user: root
ssh_key_path: ~/.ssh/id_rsa
- address: vmnuvem4.sj.ifsc.edu.br
role: [worker]
hostname_override: vmnuvem4
user: root
ssh_key_path: ~/.ssh/id_rsa
- address: vmnuvem5.sj.ifsc.edu.br
role: [worker]
hostname_override: vmnuvem5
user: root
ssh_key_path: ~/.ssh/id_rsa
ssh_key_path: ~/.ssh/id_rsa
cluster_name: nuvem-ifsc-sje
ssh_agent_auth: true
network:
plugin: flannel
services:
etcd:
snapshot: true
creation: 5h0s
retention: 48h
kubelet:
extra_binds:
- "/etc/iscsi:/etc/iscsi"
- "/sbin/iscsiadm:/sbin/iscsiadm"
#kubernetes_version: "v1.13.11-rancher1-2"
system_images:
kubernetes: rancher/hyperkube:v1.13.11-rancher1
authentication:
strategy: x509
sans:
- "api-cloud.sj.ifsc.edu.br"
dns:
provider: kube-dns
upstreamnameservers:
- 191.36.8.2
- 191.36.8.3
ingress:
provider: "nginx"
extra_args:
default-ssl-certificate: "ingress-nginx/ingress-default-cert"
# As chaves tls.crt e tls.key (o arquivo abaixo) estão no arquivo no ingress-default-cert.yaml no nosso repositório secrets_kubernetes.
# addons: |-
# apiVersion: v1
# data:
# tls.crt: *
# tls.key: *
# kind: Secret
# metadata:
# creationTimestamp: null
# name: ingress-default-cert
# namespace: ingress-nginx
# type: kubernetes.io/tls