-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
39 lines (32 loc) · 1.41 KB
/
Makefile
File metadata and controls
39 lines (32 loc) · 1.41 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
.env:
python parser.py
include .env
export
ping-servers: .env
ansible all -i ansible/inventory/hosts.yaml -m ping
@echo "Checking network connectivity between all nodes..."
export $(grep -v '^#' .env | xargs);\
ansible-playbook -i ansible/inventory/hosts.yaml ansible/playbooks/check-network-connectivity.yaml
check-connectivity: .env
@echo "Checking network connectivity between all nodes..."
export $(grep -v '^#' .env | xargs);\
ansible-playbook -i ansible/inventory/hosts.yaml ansible/playbooks/check-network-connectivity.yaml
setup: .env
export $(grep -v '^#' .env | xargs);\
ansible-playbook -i ansible/inventory/hosts.yaml ansible/playbooks/setup-cluster.yaml
sync: .env
export $(grep -v '^#' .env | xargs);\
ansible-playbook -i ansible/inventory/hosts.yaml ansible/playbooks/sync-resources.yaml
rotate-master-nodes: .env
export $(grep -v '^#' .env | xargs);\
ansible-playbook -i ansible/inventory/hosts.yaml ansible/playbooks/rotate-master-nodes.yaml
label-taint-nodes: .env
export $(grep -v '^#' .env | xargs);\
ansible-playbook -i ansible/inventory/hosts.yaml ansible/playbooks/setup-cluster.yaml --tags label_nodes
rotate-certs: .env
echo "Rotating certificates for GlueKube..."
upgrade-cluster: .env
echo "Upgrading the GlueKube cluster..."
ansible-playbook -i ansible/inventory/hosts.yaml ansible/playbooks/upgrade-cluster.yaml
patch-os: .env
echo "Patching the operating system for GlueKube nodes..."