Skip to content

Commit 54c1fdb

Browse files
Update OSS private registry docs for combined calico/calico image (#2673)
1 parent 331be7c commit 54c1fdb

5 files changed

Lines changed: 22 additions & 74 deletions

File tree

calico/getting-started/kubernetes/self-managed-onprem/config-options.mdx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,8 @@ Add a new container to the template.
302302

303303
```yaml
304304
- name: dikastes
305-
image: $[registry]$[imageNames.calico/dikastes]:$[releases.0.components.calico/dikastes.version]
305+
image: $[registry]$[imageNames.calico/calico]:$[releases.0.components.calico/calico.version]
306+
command: ["/usr/bin/calico", "component", "dikastes"]
306307
args: ["server", "-l", "/var/run/dikastes/dikastes.sock", "-d", "/var/run/felix/nodeagent/socket"]
307308
securityContext:
308309
allowPrivilegeEscalation: false

calico/operations/calicoctl/install.mdx

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -306,11 +306,17 @@ the node related subcommands will not work (like node status).
306306

307307
### Install calicoctl as a container on a single host
308308

309-
To install `calicoctl` as a container on a single host, log into the
310-
target host and issue the following command.
309+
`calicoctl` ships as part of the combined `calico/calico` image. To install it as a
310+
container on a single host, log into the target host and issue the following command.
311311

312312
```bash
313-
docker pull $[registry]$[imageNames.calicoctl]:$[releaseTitle]
313+
docker pull $[registry]$[imageNames.calico/calico]:$[releaseTitle]
314+
```
315+
316+
Run `calicoctl` by invoking the binary inside the container, for example:
317+
318+
```bash
319+
docker run --rm $[registry]$[imageNames.calico/calico]:$[releaseTitle] calicoctl get nodes
314320
```
315321

316322
**Next step**:

calico/reference/kube-controllers/configuration.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ The controllers are primarily configured through environment variables. When run
2222
the controllers as a Kubernetes pod, this is accomplished through the pod manifest `env`
2323
section.
2424

25-
## The $[imageNames.calico/kube-controllers] container
25+
## The calico-kube-controllers container
2626

27-
The `$[imageNames.calico/kube-controllers]` container includes the following controllers:
27+
The `calico-kube-controllers` container includes the following controllers:
2828

2929
1. policy controller: watches Kubernetes network policies in the Kubernetes API, and syncs the policies to the datastore (etcd) as $[prodname] network policies. Felix implements network policies in the data plane.
3030
1. namespace controller: watches namespaces and programs $[prodname] profiles.

calico/releases.json

Lines changed: 4 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -7,38 +7,26 @@
77
"version": "master"
88
},
99
"components": {
10-
"calico/typha": {
11-
"version": "master",
12-
"registry": "quay.io"
13-
},
14-
"calico/ctl": {
10+
"calico/calico": {
1511
"version": "master",
1612
"registry": "quay.io"
1713
},
1814
"calico/node": {
1915
"version": "master",
2016
"registry": "quay.io"
2117
},
22-
"calico/node-windows": {
18+
"calico/whisker": {
2319
"version": "master",
2420
"registry": "quay.io"
2521
},
26-
"calico/cni": {
22+
"calico/node-windows": {
2723
"version": "master",
2824
"registry": "quay.io"
2925
},
3026
"calico/cni-windows": {
3127
"version": "master",
3228
"registry": "quay.io"
3329
},
34-
"calico/apiserver": {
35-
"version": "master",
36-
"registry": "quay.io"
37-
},
38-
"calico/kube-controllers": {
39-
"version": "master",
40-
"registry": "quay.io"
41-
},
4230
"calico/envoy-gateway": {
4331
"version": "master",
4432
"registry": "quay.io"
@@ -51,50 +39,10 @@
5139
"version": "master",
5240
"registry": "quay.io"
5341
},
54-
"calico/flannel-migration-controller": {
55-
"version": "master",
56-
"registry": "quay.io"
57-
},
5842
"flannel": {
5943
"version": "v0.24.4",
6044
"registry": "docker.io"
61-
},
62-
"calico/dikastes": {
63-
"version": "master",
64-
"registry": "quay.io"
65-
},
66-
"flexvol": {
67-
"version": "master",
68-
"registry": "quay.io"
69-
},
70-
"calico/csi": {
71-
"version": "master",
72-
"registry": "quay.io"
73-
},
74-
"calico/node-driver-registrar": {
75-
"version": "master",
76-
"registry": "quay.io"
77-
},
78-
"calico/pod2daemon-flexvol": {
79-
"version": "master",
80-
"registry": "quay.io"
81-
},
82-
"calico/key-cert-provisioner": {
83-
"version": "master",
84-
"registry": "quay.io"
85-
},
86-
"calico/goldmane": {
87-
"version": "master",
88-
"registry": "quay.io"
89-
},
90-
"calico/whisker": {
91-
"version": "master",
92-
"registry": "quay.io"
93-
},
94-
"calico/whisker-backend": {
95-
"version": "master",
96-
"registry": "quay.io"
9745
}
9846
}
9947
}
100-
]
48+
]

calico/variables.js

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -25,22 +25,15 @@ const variables = {
2525
tigeraOperator: releases[0]['tigera-operator'],
2626
tigeraOperatorVersionShort: releases[0]['tigera-operator'].version.split('.').slice(0, 2).join('.'),
2727
imageNames: {
28+
'calico/calico': 'calico/calico',
2829
'calico/node': 'calico/node',
29-
calicoctl: 'calico/ctl',
30-
typha: 'calico/typha',
31-
'calico/cni': 'calico/cni',
32-
'calico/apiserver': 'calico/apiserver',
33-
'calico/kube-controllers': 'calico/kube-controllers',
34-
'calico-upgrade': 'calico-upgrade',
30+
'calico/whisker': 'calico/whisker',
3531
'calico/node-windows': 'calico/node-windows',
3632
'calico/cni-windows': 'calico/cni-windows',
33+
'calico/envoy-gateway': 'calico/envoy-gateway',
34+
'calico/envoy-proxy': 'calico/envoy-proxy',
35+
'calico/envoy-ratelimit': 'calico/envoy-ratelimit',
3736
flannel: 'docker.io/flannelcni/flannel',
38-
flannelMigration: 'calico/flannel-migration-controller',
39-
'calico/dikastes': 'calico/dikastes',
40-
'pilot-webhook': 'calico/pilot-webhook',
41-
flexvol: 'calico/pod2daemon-flexvol',
42-
'csi-driver': 'calico/csi',
43-
'csi-node-driver-registrar': 'calico/node-driver-registrar',
4437
},
4538
};
4639

0 commit comments

Comments
 (0)