![diwakar thyagaraj](/assets/img/avatar_default.png)
The current copyright refers to a non-existent group "openstack helm authors" with often out-of-date references that are confusing when adding a new file to the repo. This change removes all references to this copyright by the non-existent group and any blank lines underneath. Change-Id: Icdf013090dd26985d4443fdd4d1232182a1f699c Signed-off-by: diwakar thyagaraj <diwakar.chitoor.thyagaraj@att.com>
Calicoctl-utility Container
This container shall allow access to the Calico pod running on every node. Operations personnel should be able to get the appropriate data from this utility container by specifying the node and respective service command within the local cluster.
Generic Docker Makefile
This is a generic make and dockerfile for the calicoctl utility container, which can be used to create docker images using different calico releases.
Make Syntax
make IMAGE_TAG=<calicoctl_version>
Example:
Create a docker image for calicoctl release v3.4.0.
make IMAGE_TAG=v3.4.0
Using the Utility Container
The utility container for calicoctl shall enable Operations to access the command set for network APIs together from within a single shell with a uniform command structure. The access to network-Calico shall be controlled through an RBAC role assigned to the user.
Usage
Get into the utility pod using kubectl exec
.
Execute an operation as in the following example.
kubectl exec -it <POD_NAME> -n utility /bin/bash
Example:
utilscli calicoctl get nodes
NAME
bionic
utilscli calicoctl version
Client Version: v3.4.4
Git commit: e3ecd927