Il ne manque plus que la clé
This commit is contained in:
@@ -4,4 +4,21 @@
|
|||||||
include:
|
include:
|
||||||
- softwares.dockerCE
|
- softwares.dockerCE
|
||||||
|
|
||||||
|
{% if grains['os'] == 'Debian' %}
|
||||||
|
{% set DEBVER = salt['grains.get']('oscodename') %}
|
||||||
|
Debian K8S Add Repo:
|
||||||
|
pkgrepo.managed:
|
||||||
|
- name: deb https://apt.kubernetes.io/ kubernetes-{{DEBVER}} main
|
||||||
|
- file: /etc/apt/sources.list.d/k8s.list
|
||||||
|
- enable: 1
|
||||||
|
- key_url: https://download.docker.com/linux/debian/gpg
|
||||||
|
|
||||||
|
K8S installation:
|
||||||
|
pkg.installed:
|
||||||
|
- pkgs:
|
||||||
|
- kubelet
|
||||||
|
- kubeadm
|
||||||
|
- kubectl
|
||||||
|
|
||||||
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
Reference in New Issue
Block a user