Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 17 additions & 17 deletions public/kubernetes-guides/cni/deploy-calico.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,9 @@ Calico has a pluggable dataplane architecture that lets you choose the networkin
apiVersion: crd.projectcalico.org/v1
kind: FelixConfiguration
metadata:
name: default
name: default
spec:
cgroupV2Path: "/sys/fs/cgroup"
cgroupV2Path: "/sys/fs/cgroup"
EOF
```

Expand All @@ -72,11 +72,11 @@ Calico has a pluggable dataplane architecture that lets you choose the networkin
kind: ConfigMap
apiVersion: v1
metadata:
name: kubernetes-services-endpoint
namespace: tigera-operator
name: kubernetes-services-endpoint
namespace: tigera-operator
data:
KUBERNETES_SERVICE_HOST: '<API server host>'
KUBERNETES_SERVICE_PORT: '<API server port>'
KUBERNETES_SERVICE_HOST: '<API server host>'
KUBERNETES_SERVICE_PORT: '<API server port>'
```

After editing the file, apply it using:
Expand All @@ -99,22 +99,22 @@ Calico has a pluggable dataplane architecture that lets you choose the networkin
apiVersion: operator.tigera.io/v1
kind: Installation
metadata:
name: default
name: default
spec:
calicoNetwork:
calicoNetwork:
bgp: Disabled
linuxDataplane: BPF
cni:
cni:
ipam:
type: HostLocal
type: Calico
kubeletVolumePluginPath: None
kubeletVolumePluginPath: None
---
# Kubectl integration for Calico unique resources.
apiVersion: operator.tigera.io/v1
kind: APIServer
metadata:
name: default
name: default
spec: {}
EOF
```
Expand All @@ -130,22 +130,22 @@ Calico has a pluggable dataplane architecture that lets you choose the networkin
apiVersion: operator.tigera.io/v1
kind: Installation
metadata:
name: default
name: default
spec:
calicoNetwork:
calicoNetwork:
bgp: Disabled
linuxDataplane: Nftables
cni:
cni:
ipam:
type: HostLocal
type: Calico
kubeletVolumePluginPath: None
kubeletVolumePluginPath: None
---
# Kubectl integration for Calico unique resources.
apiVersion: operator.tigera.io/v1
kind: APIServer
metadata:
name: default
name: default
spec: {}
EOF
```
Expand Down Expand Up @@ -192,4 +192,4 @@ This can be done with kubectl as follows:

```bash
kubectl patch felixconfiguration default --patch='{"spec": {"bpfKubeProxyIptablesCleanupEnabled": false}}'
```
```