Skip to content

Docs for creation lab K8s - #849

Open
justonedev1 wants to merge 1 commit into
masterfrom
kubernetes_deployment_doc
Open

Docs for creation lab K8s#849
justonedev1 wants to merge 1 commit into
masterfrom
kubernetes_deployment_doc

Conversation

@justonedev1

Copy link
Copy Markdown
Collaborator

No description provided.

@justonedev1
justonedev1 requested a review from knopers8 as a code owner August 20, 2026 21:18

@knopers8 knopers8 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

again, some comments for migrating this to ansible.

Comment thread docs/lab-k8s-install.md

- Verify all required kernel modules are loaded

RHEL 10 can have problems with having all required kernel modules, you can check:

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I'm not sure where this comes from, can't find corresponding advice in the k8s doc and I didn't have to do any of this when installing. When migrating to an ansible playbook, I would try first without.

Maybe it comes from Calico?

Comment thread docs/lab-k8s-install.md
RHEL 10 is running cgroups v2 as a default, so we need containerd to use systemd as cgroups driver so add following to the
`/etc/containerd/config.toml` together with some other changes (like bin dir and other), contents of the config.toml are:
```
cat /etc/containerd/config.toml

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

i'd use v3, probably more future-proof:

version = 3

[plugins]
  [plugins."io.containerd.cri.v1.images"]
    pinned_images = { sandbox = "registry.k8s.io/pause:3.10" }
  [plugins."io.containerd.cri.v1.runtime"]
    [plugins."io.containerd.cri.v1.runtime".cni]
      bin_dir = "/usr/libexec/cni/"
      conf_dir = "/etc/cni/net.d"
    [plugins."io.containerd.cri.v1.runtime".containerd.runtimes.runc]
      [plugins."io.containerd.cri.v1.runtime".containerd.runtimes.runc.options]
        SystemdCgroup = true
  [plugins."io.containerd.internal.v1.opt"]
    path = "/var/lib/containerd/opt"

Comment thread docs/lab-k8s-install.md


# To init Control plane node
- Open following ports: [k8s](https://kubernetes.io/docs/reference/networking/ports-and-protocols/), [calico](https://docs.tigera.io/calico-enterprise/latest/operations/troubleshoot/troubleshooting)

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

that page in calico does not list any ports

Comment thread docs/lab-k8s-install.md

The reason why cluster is responding NotReady is that we have no network plugin.

- Calico

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I think we could go with Cilium, since ATLAS have experience with both and picked it. They measured that Cilium scales much better with number of Pods (quadratic vs linear, IIRC). I would not diverge at this point unless we have a reason for it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants