#!/bin/bashcd /mnt/cloudbackup/k8s-volumes-01gcloud container clusters get-credentials memcalc --zone europe-west3-c --project marketk8kubectl config use-context gke_marketk8_europe-west3-c_memcalckubectl scale deployment -n cronjobs ungleich-data-access --replicas=1# find the correct pod nameexport POD=$(kubectl get pod -n cronjobs --selector=app=data-access -o jsonpath="{.items[0].metadata.name}")# get the datarsync -avurP --delete --exclude='.git/' --blocking-io --rsync-path=/data/ --rsh="kubectl exec -n cronjobs $POD -i -- " rsync: .# scale the deployment back down (eliminate the data-acess pod) when done:kubectl scale deployment -n cronjobs ungleich-data-access --replicas=0

gcloud init without url

gcloud auth login --no-launch-browser
gcloud auth activate-service-account test-service-account@google.com --key-file=/path/key.json --project=testproject


sudo snap install node –classic
npm install http-server -g
sduo npm install http-server -g
sudo npm install http-server -g
sudo npm install typescript -g
sudo npm install angular-cli -g

http-server file


const http = require("http");const host = 'localhost';const port = 8000;const requestListener = function (req, res) { res.writeHead(200); res.end("Hello World");};const server = http.createServer(requestListener);server.listen(port, host, () => { console.log(`Server is running on http://${host}:${port}`);});

start with: node hello.js

Git Clone repo

git pull

git commit -a -m “test”

gut push

gcloud auth login

kustomize build /home/xy/dev/ingress-configuration/overlays/alaska-frontend-dev | kubectl apply -f –


kustomize build /home/paede/dev/ingress-configuration/overlays/alaska-frontend-dev | kubectl apply -n ak-frontend-dev -f –

kubectl get managedcertificates -n ak-frontend-dev -o yaml

  • The official Python tutorial. This tutorial is designed to help people teach themselves Python. While it goes in a different order than the one we’re taking here, it covers a lot of the same subjects that we explore in this course. You can refer to this resource for extra information on these subjects.
  • The Think Python book. This book aims to teach people how to program in Python. It’s available online in PDF and browsable forms. Again, you can use this resource to learn more about some of the subjects we cover.
  • The official language reference. This is a technical reference of all Python language components. At first, this resource might be a little too complex, but as you learn how Python works and how it’s built, this can be a useful reference to understand the details of these interactions.

python 3.7 Kurs