51 lines
1.2 KiB
YAML
51 lines
1.2 KiB
YAML
apiVersion: operator.tigera.io/v1
|
|
kind: Installation
|
|
metadata:
|
|
name: default
|
|
spec:
|
|
typhaMetricsPort: 9093
|
|
calicoNetwork:
|
|
nodeAddressAutodetectionV4:
|
|
interface: eth.*
|
|
nodeAddressAutodetectionV6:
|
|
cidrs:
|
|
- "2001:470:7116:2::/64"
|
|
ipPools:
|
|
- blockSize: 122
|
|
cidr: 2001:470:7116:a::/64
|
|
encapsulation: "VXLAN"
|
|
natOutgoing: Enabled
|
|
nodeSelector: all()
|
|
- blockSize: 26
|
|
cidr: 10.0.10.0/24
|
|
encapsulation: IPIP
|
|
natOutgoing: Enabled
|
|
nodeSelector: all()
|
|
flexVolumePath: "/opt/libexec/kubernetes/kubelet-plugins/volume/exec/"
|
|
---
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: typha-metrics-svc
|
|
namespace: calico-system
|
|
spec:
|
|
ipFamilies:
|
|
- IPv6
|
|
- IPv4
|
|
ipFamilyPolicy: PreferDualStack
|
|
#ipFamilyPolicy: SingleStack
|
|
type: ClusterIP
|
|
selector:
|
|
k8s-app: calico-typha
|
|
ports:
|
|
- port: 9093
|
|
targetPort: 9093
|
|
name: metrics-port
|
|
---
|
|
# This section configures the Calico API server.
|
|
# For more information, see: https://projectcalico.docs.tigera.io/master/reference/installation/api#operator.tigera.io/v1.APIServer
|
|
apiVersion: operator.tigera.io/v1
|
|
kind: APIServer
|
|
metadata:
|
|
name: default
|
|
spec: {} |