-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathreadme.txt
32 lines (17 loc) · 957 Bytes
/
readme.txt
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
docker build kubernetes_django -t gitumarkk/k8_django_minikube:1.0.0
docker tag gitumarkk/k8_django_minikube:1.0.0 localhost:32000/gitumarkk/k8_django_minikube:1.0.0
docker push localhost:32000/gitumarkk/k8_django_minikube:1.0.0
microk8s.kubectl apply -f config/deployment.yml
microk8s.kubectl expose deployment django --type=NodePort
-microk8s.kubectl delete -f config/deployment.yml
microk8s.kubectl apply -f config/service.yml
openssl req -x509 -newkey rsa:4096 -sha256 -nodes -keyout tls.key -out tls.crt -subj "/CN=localhost" -days 365
kubectl create secret tls test-localhost --cert=tls.crt --key=tls.key
minikube ip
curl -k --header host:localhost https://192.168.42.131
= nomad
consul agent -server -client 127.0.0.1 -advertise 127.0.0.1 -data-dir /tmp/consul -ui -bootstrap
http://127.0.0.1:8500/ui/dc1/services
nomad agent --config nomad/nomad.conf
docker build django/ -t apapacy/tut-django:1.0.1
nomad job run nomad/django.conf