Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Choosing K8s Distribution to set Container Runtime Socket Path for crictl #19

Merged

Conversation

kate-goldenring
Copy link
Collaborator

Associated documentation for project-akri/akri#427.

@@ -116,48 +116,40 @@ kubectl taint nodes --all node-role.kubernetes.io/master-
{% endtabs %}

## Configure `crictl`
Akri depends on crictl to track some Pod information. By default, Akri assumes Docker is the container runtime with the Docker socket at `/var/run/dockershim.sock` and `crictl` installed at `/usr/bin/crictl`. These are configured via Akri's Helm chart during installation in the `agent.host.dockerShimSock` and `agent.host.crictl` values, respectively. Akri recommends setting these under an `AKRI_HELM_CRICTL_CONFIGURATION` environment variable and then adding the variable to each Akri installation like so:
Akri depends on `crictl` to track some Pod information. In order to use it, the Agent must know where the container runtime socket lives. This can be configured with Akri's Helm chart either directly by setting `agent.host.containerRuntimeSocket` or by specifying the Kubernetes distribution ("k3s", "microk8s", or "k8s" for standard Kubernetes) that is being used in `kubernetesDistro`. If a distribution is specified, then the appropriate default will be used. Akri recommends setting this choice sd an `AKRI_HELM_CRICTL_CONFIGURATION` environment variable and then adding the variable to each Akri installation like so:
Copy link
Contributor

@romoh romoh Dec 3, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/sthis choice sd an/this choice as?

Signed-off-by: Kate Goldenring <[email protected]>
@kate-goldenring kate-goldenring merged commit 8f05c44 into project-akri:main Dec 14, 2021
@kate-goldenring kate-goldenring deleted the configure-k8s-distro branch December 14, 2021 21:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants