initial commit

This commit is contained in:
Bartal Læarsson
2025-02-27 21:41:38 +00:00
parent da3f780fd2
commit ccdc52070b
27 changed files with 27 additions and 4 deletions
+1
View File
@@ -0,0 +1 @@
multipass/cloud-init/ssh_key.txt
@@ -1,5 +1,4 @@
# Kubernetes Cluster Deployment with Ansible # Kubernetes Cluster Deployment with Ansible
This repository contains Ansible playbooks to set up a Kubernetes cluster on existing Ubuntu 24.04 VMs. This repository contains Ansible playbooks to set up a Kubernetes cluster on existing Ubuntu 24.04 VMs.
## Prerequisites ## Prerequisites
@@ -6,13 +6,16 @@ all:
control_plane: control_plane:
hosts: hosts:
controlplane: controlplane:
ansible_host: 10.203.146.164 ansible_host: 10.203.146.213
workers: workers:
hosts: hosts:
node01: node01:
ansible_host: 10.203.146.126 ansible_host: 10.203.146.194
node02: node02:
ansible_host: 10.203.146.2 ansible_host: 10.203.146.61
node03:
ansible_host: 10.203.146.193
vars: vars:
ansible_user: ubuntu ansible_user: ubuntu
ansible_become: yes ansible_become: yes
@@ -0,0 +1,19 @@
# minimal-postgres.yaml
apiVersion: "acid.zalan.do/v1"
kind: postgresql
metadata:
name: acid-minimal-cluster
spec:
teamId: "acid"
volume:
size: 1Gi
numberOfInstances: 3 # One master and two replicas for HA
postgresql:
version: "15"
resources:
requests:
cpu: 100m
memory: 100Mi
limits:
cpu: 500m
memory: 500Mi
View File
@@ -0,0 +1 @@
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDNxAOn78XFG3JELc+adb5CLbR0654QIHzI1ARmEcFMbVRSIqWqdIj4JckOHgxKxOrqV3PLxBbPvjWatJ3RMLixUTimokFLu42ecE/vWGHh96+XGVJ01em0WduS07VssqHc/9sG0gVMHINOylPUBCcudqqhsPKMtFk2MlAKxegxbT4+WuyYslY/cSC5N6DpzhafOB79ogGTuJ/hKsOTCtRALe/M+8Pvel+8ONU/0LimScTJPYggNxe6vaGvL9eY+69t9jXzn0nXKrwfArcurNtFyeOVA8IznyF7ahvPN6NVg0Ac6aAZLkua3Yv33Xi2dBUScBiig9pmPF7XEysu5brcTu+jTPXupcneD8HRWqKdY3J4e1n7HAUGaFW+E6zgXKNUPY68kUVik74FH2RHPKs8BxeXf1J7Y9sTt6OigEM2cwkPR620GCRV18flmUqftzzGlpnF94gBnyxVhWB6Ti3KQJyG8a0CWPOTAJ3jx2tj9SW3qjqgiDTh8wDCZttlZHgFMMHNHCN30UCJethaZiem9CLT/97QzF6x3rTe8Ru61xJOwVX6IMEjPQwRSUOQJ8FKhOP1QhRAjfL2HvkJck/kei0HktLpV81+unpShEynPFOVh7AC+kqugNOOR/zU4BxEhuUQHHZvdHWrOEIXJeNPHfdK9GSNaGHSeyNWSdiQYQ== your_email@sev.fo
View File
View File
View File
View File