runtime-copilot

module
v0.0.0-...-8a308ef Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 15, 2023 License: Apache-2.0

README

Github Ci ActionGithub Image ActionGithub Chart Action

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

Directories

Path Synopsis
api
v1alpha1
Package v1alpha1 contains API Schema definitions for the config.registry v1alpha1 API group +kubebuilder:object:generate=true +groupName=config.registry.runtime.copilot.io
Package v1alpha1 contains API Schema definitions for the config.registry v1alpha1 API group +kubebuilder:object:generate=true +groupName=config.registry.runtime.copilot.io
cmd
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL