Cluster Kubernetes desplegado con Terraform y Ansible en OpenNebula.
-
Crear el fichero
.enva partir deenv-exampley configurar las variables. -
Crear el fichero
terraform/variables.tfa partir deterraform/variables.tf.exampley configurar las variables. -
Crear el fichero
ansible/versiones.ymla partir deansible/versiones.yml.example. -
Construir el contenedor donde se ejecuta Terraform.
make build
-
Crear la clave privada SSH para Ansible e inicializar Terraform.
make init
-
Desplegar el cluster en OpenNebula.
make apply
-
Conectarse al nodo maestro del cluster.
make ssh
Obtener el token temporal de acceso:
make dashboard-token| Nodo | CPUs | Memoria (GB) | Disco (GB) |
|---|---|---|---|
| master | 2 | 4 | 16 |
| node-0 | 1 | 3 | 24 |
| node-1 | 1 | 3 | 24 |
| node-2 | 1 | 3 | 24 |
| haproxy | 1 | 1 | 8 |
| Total | 6 | 14 | 96 |
- Documentación del proveedor de OpenNebula
- Cluster de Kubernetes con Vagrant
- Install and Set Up kubectl on Linux
- alpine-kubectl
- How to detect 386, amd64, arm, or arm64 OS architecture via shell/bash
- print terraform output from list of list to a list of strings
- How to Install Kubernetes on Ubuntu 22.04 / Ubuntu 20.04
- How to Install Kubernetes Cluster on Ubuntu 22.04
- Ubuntu 22.04 and Kubernetes recently Broke Compatibility with Each Other (and how to work around it)
- Ansible playbook to upgrade Ubuntu/Debian servers and reboot if needed
- Ansible Register
- How to Use Environment Variables on Terraform
- How can I manage keyring files in trusted.gpg.d with ansible playbook since apt-key is deprecated?
- Passing additional variables from command line to make
- JSON Output Format
- How to Parse JSON Files on the Linux Command Line with jq
- SSH Tunnel within docker container
- How can I make "Press any key to continue"
- How to source an entry point script with Docker?
- Debian/Ubuntu HAProxy packages
- Install Calico with Kubernetes API datastore, 50 nodes or less
- Run the HAProxy Kubernetes Ingress Controller Outside of Your Kubernetes Cluster
- Enable external mode for an on-premises Kubernetes installation
- Install calicoctl
- Route traffic to an example app
- ingress-controller-external-example
- The Ultimate Guide To Using Calico, Flannel, Weave and Cilium
- HAProxy Kubernetes Ingress Controller
- Configure a TLS certificate for all services
- Rook
- Getting Started
- Quickstart
- Host Storage Cluster
- Troubleshooting
- Block Storage (RBD)
- Shared Filesystem (CephFS)
- Rook OSD after node failure
- Kubernetes Dashboard
- Installing Helm
- Accessing Dashboard
- Kubernetes Dashboard Token Expired in One hour. How to create token for long time
- Adjusting the timeout of the Kubernetes Dashboard
- How can I make the automatic timed logout longer?
- Install Portainer CE on your Kubernetes environment
- How to prevent kubectl interactive shell from being closed after few minutes (increase timeout) / or terminal from dying?
- Deploying Harbor with High Availability via Helm
- How to deploy harbor on kubernetes with a NGINX Ingress Controller
- A Hands-On Guide to Kubernetes Monitoring Using Prometheus & Grafana
- How to collect and query Kubernetes logs with Grafana Loki, Grafana, and Grafana Agent
- Install the monolithic Helm chart
- Deploy Grafana Alloy on Kubernetes
- Collect Kubernetes logs and forward them to Loki
- failed to create fsnotify watcher: too many open files
- How to run a script on boot up in Debian 11
