From 28d706eb225d81699a33d898044ec0a1f49a46f2 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Wed, 29 Apr 2020 14:35:33 +0200 Subject: lendwirbel: initial install of kubernetes cluster --- spreadspace/group_vars/k8s-lwl.yml | 10 ++++++++++ spreadspace/k8s-lwl.yml | 26 ++++++++++++++++++++++++++ spreadspace/lw-master.yml | 8 ++++++++ 3 files changed, 44 insertions(+) create mode 100644 spreadspace/group_vars/k8s-lwl.yml create mode 100644 spreadspace/k8s-lwl.yml create mode 100644 spreadspace/lw-master.yml (limited to 'spreadspace') diff --git a/spreadspace/group_vars/k8s-lwl.yml b/spreadspace/group_vars/k8s-lwl.yml new file mode 100644 index 00000000..5fc69d0a --- /dev/null +++ b/spreadspace/group_vars/k8s-lwl.yml @@ -0,0 +1,10 @@ +$ANSIBLE_VAULT;1.2;AES256;spreadspace +30386433346435633361623664663166623666363833376365653735303831643437356532646663 +3966666138623466653532663763363938613966663135640a373132653064366438616362376561 +61366437363736396465656137643566303635636538366130636363366561623339393232306635 +6131303737333633330a643862383839326335633363393266653936323166383264333535323235 +32323832383362313432306537663736646236656139336463393261356133343263306266343931 +62383064393735613232366162306230363636356237663035333566663132613833356638623965 +38653936643336383561343831666561393337346234653637303264626566393165616363656438 +36303563343962623361366535646563666132643466346533316433653166326264323131386231 +32623331343931613639663364333961613231343765363964396239383633653730 diff --git a/spreadspace/k8s-lwl.yml b/spreadspace/k8s-lwl.yml new file mode 100644 index 00000000..d587c0f7 --- /dev/null +++ b/spreadspace/k8s-lwl.yml @@ -0,0 +1,26 @@ +--- +- name: Basic Node Setup + hosts: k8s-lwl + roles: + - role: base + - role: sshd + - role: zsh + +- import_playbook: ../common/kubernetes-cluster-layout.yml + vars: + kubernetes_cluster_layout: + nodes_group: k8s-lwl + masters: + - lw-master + +### hack hack hack... +- name: cook kubernetes secrets + hosts: _kubernetes_masters_ + gather_facts: no + tasks: + - set_fact: + kubernetes_secrets_cooked: "{{ kubernetes_secrets }}" + external_ip_cooked: "{{ external_ip }}" + +- import_playbook: ../common/kubernetes.yml +- import_playbook: ../common/kubernetes-cleanup.yml diff --git a/spreadspace/lw-master.yml b/spreadspace/lw-master.yml new file mode 100644 index 00000000..07b517f5 --- /dev/null +++ b/spreadspace/lw-master.yml @@ -0,0 +1,8 @@ +--- +- name: Basic Setup + hosts: lw-master + roles: + - role: base + - role: sshd + - role: zsh +# - role: elevate/emc-stats -- cgit v1.2.3