Skip to content

Commit

Permalink
upgraded
Browse files Browse the repository at this point in the history
  • Loading branch information
patrick-hermann-sva committed Oct 19, 2024
1 parent e70e8f9 commit 0a686fa
Show file tree
Hide file tree
Showing 7 changed files with 35 additions and 269 deletions.
24 changes: 19 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -181,20 +181,34 @@ ansible-playbook -i inv play.yaml -vv

```bash
cat <<EOF > ./play.yaml
- hosts: all
---
- name: Converge
hosts: all
gather_facts: true
become: true
vars:
rke_state: present #absent
rke_version: 2
rke2_k8s_version: 1.26.0
rke2_k8s_version: 1.30.4
rke2_airgapped_installation: true
rke2_release_kind: rke2r2 # rke2r1
rke2_release_kind: rke2r1 #rke2r2
rke2_cni: cilium
disable_rke2_components:
- rke2-ingress-nginx
- rke-snapshot-controller
cluster_setup: multinode
install_containerd: false # bring your own containerd
containerdRootPath: /var/lib/containerd/ # directory must not exist
rke2_cni: cilium
values_cilium: |
---
eni:
enabled: true
helmChartConfig:
cilium:
name: rke2-cilium
namespace: kube-system
release_values: "{{ values_cilium }}"
roles:
- role: deploy-configure-rke
Expand Down
1 change: 1 addition & 0 deletions Taskfile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ tasks:
cmds:
- pip install -U setuptools pip 'molecule'
- pip install molecule-docker
- pip install netaddr
- molecule --version

setup-venv:
Expand Down
204 changes: 0 additions & 204 deletions collection.yaml

This file was deleted.

4 changes: 2 additions & 2 deletions defaults/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ cluster_setup: multinode
rke_installscript_url: https://get.rke2.io
update_packages: true
rke2_os_packages: curl
rke2_cni: canal
rke2_cni: cilium
kubeconfig_mode_644: true
rke2_type: server
rke2_imagelist: rke2-images-all.linux-amd64.txt
Expand Down Expand Up @@ -244,4 +244,4 @@ helmChartConfig:
values_cilium: |
---
eni:
enabled: true
enabled: true
41 changes: 13 additions & 28 deletions molecule/default/converge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,44 +3,29 @@
hosts: all
gather_facts: true
become: true
# tasks:
# - name: Replace this task with one that validates your content
# ansible.builtin.shell: |
# sudo apt-get update -y

vars:
#rke_state: absent
rke_state: present #absent
rke_version: 2
rke2_k8s_version: 1.26.0
rke2_k8s_version: 1.30.4
rke2_airgapped_installation: true
rke2_release_kind: rke2r2 # rke2r1
rke2_release_kind: rke2r1 # rke2r2
rke2_cni: cilium
disable_rke2_components:
- rke2-ingress-nginx
- rke-snapshot-controller
cluster_setup: multinode
rke2_cni: cilium
values_cilium: |
---
eni:
enabled: true



helmChartConfig:
cilium:
name: rke2-cilium
namespace: kube-system
release_values: "{{ values_cilium }}"

roles:
- role: deploy-configure-rke

# - hosts: all
# become: true

# vars:
# rke_version: 2
# rke2_k8s_version: 1.26.0
# rke2_airgapped_installation: true
# rke2_release_kind: rke2r2 # rke2r1
# disable_rke2_components:
# - rke2-ingress-nginx
# - rke-snapshot-controller
# cluster_setup: multinode
# install_containerd: false # bring your own containerd
# containerdRootPath: /var/lib/containerd/ # directory must not exist

# roles:
# - role: deploy-configure-rke
19 changes: 0 additions & 19 deletions molecule/default/kubeconfig

This file was deleted.

11 changes: 0 additions & 11 deletions tests/rke2-cilium.yaml

This file was deleted.

0 comments on commit 0a686fa

Please sign in to comment.