kube: coral
This commit is contained in:
@@ -1,10 +1,36 @@
|
||||
# This playbook sets up dependencies for the Kubernetes cluster nodes
|
||||
|
||||
---
|
||||
- name: coral drivers
|
||||
hosts: coralworkers
|
||||
tasks:
|
||||
- name: install generic kernel
|
||||
apt:
|
||||
state: latest
|
||||
pkg: linux-image-amd64
|
||||
- name: remove cloud kernel
|
||||
apt:
|
||||
state: absent
|
||||
force: true
|
||||
pkg: linux-image-cloud-amd64
|
||||
- name: apt signing key
|
||||
get_url:
|
||||
url: https://packages.cloud.google.com/apt/doc/apt-key.gpg
|
||||
dest: /usr/share/keyrings/coral.asc
|
||||
mode: ugo+rw
|
||||
- name: apt repo
|
||||
ansible.builtin.apt_repository:
|
||||
repo: "deb [signed-by=/usr/share/keyrings/coral.asc] https://packages.cloud.google.com/apt coral-edgetpu-stable main"
|
||||
state: present
|
||||
filename: coral
|
||||
- name: install generic kernel
|
||||
apt:
|
||||
state: latest
|
||||
pkg: libedgetpu1-std
|
||||
|
||||
- name: Reconfigure Kubernetes worker nodes
|
||||
hosts:
|
||||
- workers
|
||||
- nvr.kube.k-space.ee
|
||||
tasks:
|
||||
- name: Configure grub defaults
|
||||
copy:
|
||||
@@ -24,9 +50,9 @@
|
||||
when: grub_defaults.changed
|
||||
|
||||
- name: Reconfigure Kubernetes nodes
|
||||
hosts: kubernetes
|
||||
hosts: kubelets
|
||||
vars:
|
||||
KUBERNETES_VERSION: v1.33.2
|
||||
KUBERNETES_VERSION: v1.33.3 # https://kubernetes.io/releases/patch-releases/
|
||||
CRIO_VERSION: v1.33 # https://github.com/cri-o/cri-o/releases
|
||||
CALICOCTL_VERSION: v3.29.3 # https://github.com/projectcalico/calico/releases
|
||||
CRICTL_VERSION: v1.32.5 # https://github.com/kubernetes-sigs/cri-tools/releases/
|
||||
|
Reference in New Issue
Block a user