-
Notifications
You must be signed in to change notification settings - Fork 107
/
kubernetes-master.yml
158 lines (158 loc) · 3.65 KB
/
kubernetes-master.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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
---
"$id": "#/specification"
title: "K8s-master specification schema"
description: "K8s-master specification schema"
type: object
properties:
version:
type: string
cni_version:
type: string
cri_tools_version:
type: string
cluster_name:
type: string
allow_pods_on_master:
type: boolean
storage:
type: object
properties:
name:
type: string
path:
type: string
enable:
type: boolean
capacity:
type: integer
data:
type: object
required:
- name
- path
- enable
- capacity
- data
advanced:
type: object
properties:
api_server_args:
type: object
properties:
profiling:
type: boolean
enable-admission-plugins:
type: string
audit-log-maxbackup:
type: integer
audit-log-maxsize:
type: integer
secure-port:
type: integer
required:
- profiling
- enable-admission-plugins
- audit-log-maxbackup
- audit-log-maxsize
- secure-port
controller_manager_args:
type: object
properties:
profiling:
type: boolean
terminated-pod-gc-threshold:
type: integer
required:
- profiling
- terminated-pod-gc-threshold
scheduler_args:
type: object
properties:
profiling:
type: boolean
required:
- profiling
networking:
type: object
properties:
dnsDomain:
type: string
serviceSubnet:
type: string
plugin:
type: string
required:
- dnsDomain
- serviceSubnet
- plugin
imageRepository:
type: string
certificates:
type: object
properties:
expiration_days:
title: expiration_days schema
"$id": "#/properties/specification/properties/advanced/properties/certificates/properties/expiration_days"
description: |-
Days to make certificate be valid for.
For more explanation about the limit navigate to
https://groups.google.com/g/mailing.openssl.users/c/3kK_f0ywCZQ.
type: integer
minimum: 1
maximum: 24855
default: 365
renew:
title: renew schema
"$id": "#/properties/specification/properties/advanced/properties/certificates/properties/renew"
description: |-
Whether to renew certificates or not
type: boolean
required:
- expiration_days
- renew
etcd_args:
type: object
properties:
encrypted:
type: boolean
required:
- encrypted
kubeconfig:
type: object
properties:
local:
type: object
properties:
api_server:
type: object
properties:
hostname:
type: string
port:
type: integer
required:
- hostname
- port
required:
- api_server
required:
- local
enable_controller_attach_detach:
type: boolean
required:
- api_server_args
- controller_manager_args
- scheduler_args
- networking
- imageRepository
- certificates
- etcd_args
- kubeconfig
required:
- version
- cni_version
- cri_tools_version
- cluster_name
- allow_pods_on_master
- storage
- advanced