Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
What's your Kubernetes experience on Gentoo?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
jmanko
Tux's lil' helper
Tux's lil' helper


Joined: 11 Sep 2005
Posts: 139
Location: NEPA, USA

PostPosted: Mon Nov 28, 2022 7:15 pm    Post subject: What's your Kubernetes experience on Gentoo? Reply with quote

I'm looking to set up Kubernetes on my Gentoo server, and I'm wondering what experience others have had getting things configured. I'm new to k8s from an admin pov, so any input would be helpful. I'll be starting with sys-cluster/kubelet installation and going from there. Anything else as far as system packages I should install?
_________________
"What stands in the way becomes the way." -- Marcus Aurelius
Back to top
View user's profile Send private message
alamahant
Advocate
Advocate


Joined: 23 Mar 2019
Posts: 3879

PostPosted: Mon Nov 28, 2022 7:51 pm    Post subject: Reply with quote

If it is a single node then sys-cluster/minikube and sys-cluster/kubectl will suffice.
It will create a VM
If multiple nodes maybe you will need
Code:

sys-cluster/kubeadm
sys-cluster/kubelet
sys-cluster/kubectl
and ofcourse
app-containers/docker
app-containers/kompose

_________________
:)
Back to top
View user's profile Send private message
jmanko
Tux's lil' helper
Tux's lil' helper


Joined: 11 Sep 2005
Posts: 139
Location: NEPA, USA

PostPosted: Mon Nov 28, 2022 8:21 pm    Post subject: Reply with quote

alamahant wrote:
If it is a single node then sys-cluster/minikube and sys-cluster/kubectl will suffice.
It will create a VM


That's exactly what I'm interested in doing. A single node for use with our QA team.
_________________
"What stands in the way becomes the way." -- Marcus Aurelius
Back to top
View user's profile Send private message
alamahant
Advocate
Advocate


Joined: 23 Mar 2019
Posts: 3879

PostPosted: Mon Nov 28, 2022 8:44 pm    Post subject: Reply with quote

So basically you will need to emerge
Code:

app-emulation/qemu
app-emulation/libvirt
sys-cluster/minikube
sys-cluster/kubectl
app-containers/kompose #### not necessary but its fun to convert docker-compose yaml files  to k8s yaml files to deploy applications very easily.

After that all you need to do is run
Code:

rc-service libvirtd start
minikube start --vm-driver kvm2

and your single node k8s is ready to use.
_________________
:)
Back to top
View user's profile Send private message
anvarro10
n00b
n00b


Joined: 29 Nov 2022
Posts: 9

PostPosted: Tue Dec 06, 2022 12:49 am    Post subject: Kubernetes on Gentoo Reply with quote

Hello alamahant,

Out of curiosity, have you or someone you know setup Kubernetes on Gentoo before?
I'm looking to install a Gentoo cluster (one control plane and two worker nodes) with kubeadm.
I have a CentOS 7, Ubuntu 20.04 and an Arch Linux Cluster so far that I've built to help me practice.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum