


runtime-copilot
The main function of the runtime copilot is to assist the operation of the container runtime component (containerd), specifically for adding or deleting non-safe registries.
Usage
Helm must be installed to use the charts. Please refer to
Helm's documentation to get started.
Once Helm has been set up correctly, add the repo as follows:
helm repo add runtime-copilot https://lengrongfu.github.io/runtime-copilot
If you is first time to use this repo, you need to run command as follows:
helm repo update
helm search repo runtime-copilot
If you had already added this repo earlier, run helm repo update
to retrieve
the latest versions of the packages. You can then run helm search repo runtime-copilot
to see the charts.
To install the runtime-copilot chart:
helm install runtime-copilot runtime-copilot/runtime-copilot --namespace runtime-copilot
To uninstall the chart:
helm delete runtime-copilot --namespace runtime-copilot
Examples
We add 10.6..112.191
this insecret registry to containerd, we can define yaml content follow file.
apiVersion: config.registry.runtime.copilot.io/v1alpha1
kind: RegistryConfigs
metadata:
name: registryconfigs-sample
spec:
selector:
matchLabels:
app: registryconfigs-sample
template:
spec:
hostConfigs:
- server: "https://10.6.112.191"
capabilities:
- pull
- push
- resolve
skip_verify: true
After executing kubectl apply
, the following hosts.toml
file will be generated on each node, the content is as follows:
server = "https://10.6.112.191"
[host]
[host."https://10.6.112.191"]
capabilities = ["pull", "push", "resolve"]
skip_verify = true
override_path = false