mirror of
https://github.com/lukaszraczylo/rpi-home-cluster-setup.git
synced 2026-10-18 01:27:31 +00:00
Home K8S setup
This commit is contained in:
@@ -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
|
||||
@@ -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]
|
||||
@@ -0,0 +1,3 @@
|
||||
---
|
||||
# - include: k8s-general-setup.yml
|
||||
- include: k8s-github.yml
|
||||
Reference in New Issue
Block a user