Home K8S setup

This commit is contained in:
2021-03-13 00:23:06 +00:00
commit 8a5296a104
47 changed files with 3098 additions and 0 deletions
@@ -0,0 +1,16 @@
---
- name: Taint nodes
ansible.builtin.shell:
cmd: |
kubectl taint nodes --all node-role.kubernetes.io/master:NoSchedule- || true
- name: Install py3-pip
ansible.builtin.package:
name:
- py3-pip
- helm
state: present
- name: Install yaml package
pip:
name: PyYAML
+5
View File
@@ -0,0 +1,5 @@
---
# - name: Github authentication
# ansible.builtin.shell:
# cmd: |
# kubectl create secret docker-registry docker-ghcr --docker-server=https://ghcr.io --docker-username=lukaszraczylo --docker-password=$GITHUB_TOKEN [email protected]
+3
View File
@@ -0,0 +1,3 @@
---
# - include: k8s-general-setup.yml
- include: k8s-github.yml