-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnotes.txt
24 lines (19 loc) · 1023 Bytes
/
notes.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
kind load docker-image ddp:0.1.1 to load local docker image into the kind cluster
https://iximiuz.com/en/posts/kubernetes-kind-load-docker-image/
kind create cluster --config k8s/kind.yaml
kubectl apply -f https://kind.sigs.k8s.io/examples/ingress/deploy-ingress-nginx.yaml
kubectl wait --namespace ingress-nginx --for=condition=ready pod --selector=app.kubernetes.io/component=controller --timeout=90s
kubectl apply -f k8s/deploy-app.yml
mkdir -p ${HOME}/minio/data
docker run \
-p 9000:9000 \
-p 9001:9001 \
--user $(id -u):$(id -g) \
--name minio1 \
-e "MINIO_ROOT_USER=ROOTUSER" \
-e "MINIO_ROOT_PASSWORD=CHANGEME123" \
-v ${HOME}/minio/data:/data \
quay.io/minio/minio server /data --console-address ":9001"
docker run -p 6379:6379 -it valkey/valkey:latest
* * * * * { printf "%s: " "$(date "+%F %T")"; curl -s http://localhost:8080/temperature | jq ; } >> /tmp/test.txt 2>&1
*/5 * * * * (curl -s http://localhost:8080/temperature)