forked from gardener/gardener
-
Notifications
You must be signed in to change notification settings - Fork 0
/
20-garden.yaml
137 lines (137 loc) · 4.05 KB
/
20-garden.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
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
---
apiVersion: v1
kind: Secret
metadata:
name: virtual-garden-etcd-main-backup-local
namespace: garden
type: Opaque
stringData:
hostPath: "/etc/gardener/local-backupbuckets"
---
apiVersion: operator.gardener.cloud/v1alpha1
kind: Garden
metadata:
name: garden
spec:
runtimeCluster:
provider:
zones:
- "0"
- "1"
- "2"
settings:
# loadBalancerServices:
# annotations:
# foo: bar
verticalPodAutoscaler:
enabled: true
topologyAwareRouting:
enabled: false
virtualCluster:
# controlPlane:
# highAvailability: {}
dns:
domain: virtual-garden.local.gardener.cloud
etcd:
main:
backup:
provider: local
bucketName: gardener-operator
secretRef:
name: virtual-garden-etcd-main-backup-local
namespace: garden
storage:
capacity: 25Gi
# className: default
events:
storage:
capacity: 10Gi
# className: default
kubernetes:
version: 1.26.1
# kubeAPIServer:
# eventTTL: 1h
# featureGates:
# SomeKubernetesFeature: true
# runtimeConfig:
# scheduling.k8s.io/v1alpha1: true
# oidcConfig:
# caBundle: |
# -----BEGIN CERTIFICATE-----
# Li4u
# -----END CERTIFICATE-----
# clientID: client-id
# groupsClaim: groups-claim
# groupsPrefix: groups-prefix
# issuerURL: https://identity.example.com
# usernameClaim: username-claim
# usernamePrefix: username-prefix
# signingAlgs: # See https://datatracker.ietf.org/doc/html/rfc7518#section-3.1 for the list of valid algorithms
# - RS256
# requiredClaims:
# key: value
# admissionPlugins:
# - name: PodNodeSelector
# disabled: false
# config:
# podNodeSelectorPluginConfig:
# clusterDefaultNodeSelector: <node-selectors-labels>
# namespace1: <node-selectors-labels>
# namespace2: <node-selectors-labels>
# kubeconfigSecretName: name-of-secret-containing-kubeconfig-for-admission-plugin
# authentication:
# webhook:
# kubeconfigSecretName: name-of-secret-containing-kubeconfig-for-authentication-webhook
# cacheTTL: 30m
# version: v1beta1
# authorization:
# webhook:
# kubeconfigSecretName: name-of-secret-containing-kubeconfig-for-authorization-webhook
# cacheAuthorizedTTL: 31m
# cacheUnauthorizedTTL: 32m
# version: v1beta1
# auditConfig:
# auditPolicy:
# configMapRef:
# name: auditpolicy
# auditWebhook:
# kubeconfigSecretName: name-of-secret-containing-kubeconfig-for-audit-webhook
# batchMaxSize: 1337
# version: audit.k8s.io/v1
# watchCacheSizes: # See: https://kubernetes.io/docs/reference/command-line-tools-reference/kube-apiserver/
# default: 100
# resources:
# - resource: secrets
# size: 500
# - apiGroup: apps
# resource: deployments
# size: 500
# requests:
# maxNonMutatingInflight: 400
# maxMutatingInflight: 200
# enableAnonymousAuthentication: false # See: https://kubernetes.io/docs/reference/command-line-tools-reference/kube-apiserver/
# serviceAccountConfig:
# issuer: foo
# acceptedIssuers:
# - foo1
# - foo2
# extendTokenExpiration: true
# maxTokenExpiration: 45d
# logging:
# verbosity: 2
# httpAccessVerbosity: 3
# defaultNotReadyTolerationSeconds: 300
# defaultUnreachableTolerationSeconds: 300
# sni:
# secretName: name-of-secret-containing-tls-cert-and-key
# domainPatterns:
# - foo.example.com
# resourcesToStoreInETCDEvents:
# - group: networking.k8s.io
# resources: networkpolicies
maintenance:
timeWindow:
begin: 220000+0100
end: 230000+0100
networking:
services: 100.64.0.0/13