Deploy and Manage Kubernetes with Ansible Semaphore Web UI

  Рет қаралды 5,724

Engineering with Morris

Engineering with Morris

Күн бұрын

Пікірлер: 29
@olegfranko8675
@olegfranko8675 Жыл бұрын
I was thinking about trying semaphore for a while, but never got the motivation to do so, because I was using AWX for Ansible projects that need to be templated and do have specific python requirements. Semaphore seems to be a lot simpler compared to AWX, but also with less functionality. Thank you for this great introduction and nice hands on examples. I'll definitely use your code examples to save time when trying out semaphore. ;)
@droit19
@droit19 Жыл бұрын
You have great, very practical videos on K8s, Terraform and now this on Ansible, you have earned a new subscriber!
@EngineeringWithMorris
@EngineeringWithMorris Жыл бұрын
Awesome, thank you!
@shahkhod9941
@shahkhod9941 Жыл бұрын
Semaphore seems to be a lot simpler compared to other platforms. thank you very much for your high quality videos :)
@jamallmahmoudi9481
@jamallmahmoudi9481 11 ай бұрын
Hi Morris, Thanks for the grate video very cool & perfect🙏🙏🙏
@fedefede843
@fedefede843 Жыл бұрын
Great video! What would you recommend to deploy and manage 5 different isolated colos, each one with its own K8S cluster? The natural expansion on this should be have this setup in each one and do it one by one. Any suggestions for this multi-cluster approach? Thanks!
@EngineeringWithMorris
@EngineeringWithMorris Жыл бұрын
Hi, thanks for the support. I think you can do it in one of two ways. Create a separate project for each cluster, or have multiples configurations for each cluster. You can append cluster names to the inventory, environment, ssh_key etc.
@fedefede843
@fedefede843 Жыл бұрын
@@EngineeringWithMorris Great. Just discovered the channel. Lot of exiting stuff going on. I'll start watching. Thanks!
@paulfx5019
@paulfx5019 Жыл бұрын
Hey Morris, many thanks for the great video and introducing me to Semaphore & Kubespray, most defiantly an improvement over k3s, although nit did take me a few goes to get the deployment to be smooth. Although I do have a "requests/nice" to have...add script to include deploying of containerd/config.toml (mode to work with Harbor) and CA certs to each node? Cheers and keep up, the great work!
@udayalwala3859
@udayalwala3859 Жыл бұрын
keep it up morris...
@amrabdallah4822
@amrabdallah4822 Жыл бұрын
Thanks Morris, Can you deploy an offline installation of k8s cluster using kubespray? that would be really helpful!
@EngineeringWithMorris
@EngineeringWithMorris Жыл бұрын
Sure, I will look into that.
@olegfranko8675
@olegfranko8675 Жыл бұрын
Does environment configuration need to be in JSON format? I can imagine that it will be harder to specify the env in json compared to YAML, especially when I want to specify Maps, Lists etc. as input variables for Ansible
@EngineeringWithMorris
@EngineeringWithMorris Жыл бұрын
Hi, I believe at the moment the environment can only be defined in JSON, though I don't think this should not be much of an issue as it is quite simple to convert between YAML and JSON, there should be a few tools out there that can do this for you.
@ah-ys8gs
@ah-ys8gs 8 ай бұрын
Hi thank you for the video. In 9:30 creating new repository, are there more after the .git or that is the entirety of the repo? Also got this error: Failed to connect to the host via ssh, Permission denied (publickey,password).", "unreachable": true The error happens around TASK [bootstrap-os : Fetch /etc/os-release part. I am able to ssh from kubernetes cluster servers to the deployment server & I also included the public key in each of server as you mentioned. I'm using vmware 17 pro & ubuntu 22.04.4 LTS. Can you help me please? Thank you.
@EngineeringWithMorris
@EngineeringWithMorris 8 ай бұрын
Hi, yes that is the entire URL, you can check the GitHub Project linked in the description for a link to the Kubespray GitHub Project. Regarding the error you are getting you need to make sure you generate a public key pair to enable password-less SSH connections from the semaphore docker container to the cluster servers. Private key is added to the semaphore UI while the public key is added on all cluster servers under authorized_keys. Make sure you can reach(PING) the servers as well from the container.
@ah-ys8gs
@ah-ys8gs 8 ай бұрын
​@@EngineeringWithMorrisThank you for replying! I now have a compatibility error & I updated my ansible to 2.16.4 but still won't work. Any ideas? fatal: [kube-dev-node-1]: FAILED! => { "assertion": "ansible_version.string is version(minimal_ansible_version, \">=\")", "changed": false, "evaluated_to": false, "msg": "Ansible must be between 2.16.4 and 2.17.0 exclusive - you have 2.15.9" }
@vitusyu9583
@vitusyu9583 8 ай бұрын
Could I know what Linux you are using for your cluster node VMs? Have you tried to use kubespray to deploy cluster on Apple Silicon MacOs running which Linux flavour (e.g. Rocky, CentOS 9, or Ubuntu 22.04)? Thx!
@EngineeringWithMorris
@EngineeringWithMorris 8 ай бұрын
For the cluster node VMs I mostly use Debian 11. And as for running Kubespray directly from a mac I do recall running into some errors when I tried(I am using Apple Silicon too). I did not spend much time debugging the errors and just decided to use a Debian host, so there could still be a workaround(am yet to find)to make it possible to run on Apple Silicon.
@vitusyu9583
@vitusyu9583 8 ай бұрын
@@EngineeringWithMorristhanks for your reply Morris. So, your Debian VMs are running inside your Apple Silicon Mac? Or on other Intel machines?
@vitusyu9583
@vitusyu9583 8 ай бұрын
@@EngineeringWithMorristhanks for your reply Morris. So, your Debian VMs are running inside your Apple Silicon Mac? Or on other Intel machines?
@abessesmahi4888
@abessesmahi4888 Жыл бұрын
By the way no need for music during the tutorial, it's disturbing. thank you in advance.
@EngineeringWithMorris
@EngineeringWithMorris Жыл бұрын
Thanks for the tip
@khurtsamarjargal2842
@khurtsamarjargal2842 Жыл бұрын
Hello is it HA cluster
@abessesmahi4888
@abessesmahi4888 Жыл бұрын
Thank for this awesome tutorial. Could you cover Microk8s by Canonical ( the company behind Ubuntu OS ) and tell us your opinion about using it in production. Thank you again for your efforts.
@EngineeringWithMorris
@EngineeringWithMorris Жыл бұрын
Of course, let me put that on my list of topics.
@devsingh-l3f2y
@devsingh-l3f2y 11 ай бұрын
hello Facing below error when installing using semaphore(running on lxc on proxmox). using v2.8.75 semaphore. I have installed python3-netaddr package on semaphore using "pip3.10 install netaddr" But still this issue, Could you please help on it.? TASK [kubernetes/preinstall : Get currently configured nameservers] ************ 8:47:36 PM fatal: [kube-master]: FAILED! => 8:47:36 PM msg: The ipaddr filter requires python's netaddr be installed on the ansible controller 8:47:36 PM fatal: [kube-worker-1]: FAILED! => 8:47:36 PM msg: The ipaddr filter requires python's netaddr be installed on the ansible controller 8:47:36 PM fatal: [kube-worker-2]: FAILED! => 8:47:36 PM msg: The ipaddr filter requires python's netaddr be installed on the ansible controller
@EngineeringWithMorris
@EngineeringWithMorris 11 ай бұрын
Hi thanks for watching, the issue is most likely something to do with a version miss match. Checkout the ansible installation guide for kubespray and make sure the python version is supported by the ansible version and that the ansible version is supported by the the kubespray version.
K3S Lightweight Kubernetes Cluster
13:06
Engineering with Morris
Рет қаралды 14 М.
Из какого города смотришь? 😃
00:34
МЯТНАЯ ФАНТА
Рет қаралды 2 МЛН
Twin Telepathy Challenge!
00:23
Stokes Twins
Рет қаралды 53 МЛН
Миллионер | 3 - серия
36:09
Million Show
Рет қаралды 1,4 МЛН
Мама у нас строгая
00:20
VAVAN
Рет қаралды 3,7 МЛН
It's now a UI for Ansible, Terraform and more! // Semaphore
23:27
Christian Lempa
Рет қаралды 33 М.
This web UI for Ansible is so damn useful!
20:07
Christian Lempa
Рет қаралды 496 М.
Simplify Ansible Playbook Management with Semaphore
1:26:40
Tech Tutorials - David McKone
Рет қаралды 10 М.
Ansible Tips and Tricks
49:32
Red Hat Ansible Automation
Рет қаралды 10 М.
Complete Ansible Semaphore Tutorial: From Installation to Automation
48:07
Из какого города смотришь? 😃
00:34
МЯТНАЯ ФАНТА
Рет қаралды 2 МЛН