-
Notifications
You must be signed in to change notification settings - Fork 47
/
20-network.yaml
61 lines (61 loc) · 1.26 KB
/
20-network.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
---
apiVersion: v1
kind: Namespace
metadata:
name: shoot--foo--bar
labels:
shoot.gardener.cloud/provider: azure
networking.shoot.gardener.cloud/provider: calico
---
apiVersion: extensions.gardener.cloud/v1alpha1
kind: Cluster
metadata:
name: shoot--foo--bar
spec:
cloudProfile:
apiVersion: core.gardener.cloud/v1beta1
kind: CloudProfile
seed:
apiVersion: core.gardener.cloud/v1beta1
kind: Seed
shoot:
apiVersion: core.gardener.cloud/v1beta1
kind: Shoot
metadata:
generation: 1
name: shoot--foo--bar
spec:
dns:
domain: foo.bar.example.com
kubernetes:
version: 1.28.3
status:
lastOperation:
state: Succeeded
observedGeneration: 1
---
apiVersion: extensions.gardener.cloud/v1alpha1
kind: Network
metadata:
name: calico-network
namespace: shoot--foo--bar
spec:
type: calico
podCIDR: 10.244.0.0/16
serviceCIDR: 10.96.0.0/24
providerConfig:
apiVersion: calico.networking.extensions.gardener.cloud/v1alpha1
kind: NetworkConfig
overlay:
enabled: false
snatToUpstreamDNS:
enabled: true
# ebpfDataplane:
# enabled: true
# typha:
# enabled: true
# ipam:
# type: host-local
# cidr: usePodCIDR
# autoScaling:
# mode: "vpa"