From b4c906842596f025b6a48217038da7941ea8896e Mon Sep 17 00:00:00 2001 From: jonnybravo Date: Tue, 11 Apr 2023 17:11:08 +0200 Subject: [PATCH] commit message from python script --- __pycache__/python_docker.cpython-38.pyc | Bin ... Kubernetes Camp (Linuxhotel)-20221128.pdf | Bin carpool/.dockerignore | 0 carpool/Dockerfile | 0 carpool/car_1.json | 0 carpool/car_2.json | 0 carpool/docker-compose.yml | 0 carpool/esentricar.sql | 0 carpool/index.env | 0 carpool/python_rest.py | 0 carpool/requirements.txt | 0 check_this | 0 dive_check_dockerfile | 0 docker_commands | 0 docker_compose_notizen | 0 docker_restapi | 0 docker_sheets | 0 example_start_treafik | 0 first_con | 0 get-docker.sh | 0 git_sync/create_volume | 0 git_sync/deployment | 0 git_sync/git_project/HEAD | 0 git_sync/git_project/config | 0 git_sync/git_project/description | 0 git_sync/git_project/info/exclude | 0 git_sync/pvc | 0 harbor_install | 0 k3d/blue-green/doku | 0 k3d/blue-green/nginx-svc.yaml | 0 k3d/blue-green/nginx-v1.yaml | 0 k3d/blue-green/nginx-v2.yaml | 0 k3d/install_k3d | 4 ++-- k3d/nginx1/deployment-nginx.yaml | 0 k3d/only_install | 0 k3d/pod_init/doku | 0 k3d/registries.yml | 1 - k3d/stress/deployment2.yaml | 0 k3d/stress/doku | 0 k3d/volumes/pv | 0 k3d/volumes/pvc | 0 k3d/whoami-pod.yaml | 0 k3d/whoami4-pod.yaml | 0 k8s/carpool/Dockerfile | 0 k8s/carpool/deployment.yaml | 0 k8s/carpool/doku | 0 k8s/carpool/esentricar.sql | 0 k8s/carpool/index.env | 0 k8s/carpool/node-service.yaml | 0 k8s/carpool/postgres-config.yaml | 0 k8s/carpool/postgres-deploy.yaml | 0 k8s/carpool/postgres-pv-claim.yaml | 0 k8s/carpool/postgres-schema-cm.yaml | 0 k8s/carpool/postgres-service.yaml | 0 k8s/carpool/python_rest.py | 0 k8s/carpool/requirements.txt | 0 k8s/carpool/service.yaml | 0 k8s/config_map | 0 k8s/deployment | 0 k8s/install_nginx | 0 k8s/k8s_Object_Structure | 0 k8s/monitoring | 0 k8s/nginx/2/deployment-nginx.yaml | 22 ++++++++++++++++++ k8s/nginx/deployment-nginx.yaml | 22 ++++++++++++++++++ k8s/nginx/nginx-svc.yaml | 5 ++-- k8s/nginx/nginx1.yaml | 0 k8s/nginx/nginx_namespace.yaml | 0 k8s/nginx/nginx_pod.yaml | 4 ++-- k8s/nginx/nginx_service.yaml | 13 ----------- k8s/pods | 0 k8s/pvc | 0 maven/Dockerfile | 0 mysql/docker-compose.yml | 0 mysql/web/Dockerfile | 0 nginx/docker-compose.yml | 0 nginx/htdocs/index.html | 0 nginx/images_commands | 0 portainer/docker-compose.yml | 0 python_docker.py | 2 +- selinux_arch | 0 traefik/doku | 0 traefik/web-helm/.helmignore | 0 traefik/web-helm/Chart.yaml | 0 traefik/web-helm/templates/NOTES.txt | 0 traefik/web-helm/templates/_helpers.tpl | 0 traefik/web-helm/templates/deployment.yaml | 0 traefik/web-helm/templates/hpa.yaml | 0 traefik/web-helm/templates/ingress.yaml | 0 traefik/web-helm/templates/service.yaml | 0 .../web-helm/templates/serviceaccount.yaml | 0 .../templates/tests/test-connection.yaml | 0 traefik/web-helm/values.yaml | 0 92 files changed, 51 insertions(+), 22 deletions(-) mode change 100644 => 100755 __pycache__/python_docker.cpython-38.pyc mode change 100644 => 100755 bee42-PeterRossbach Kubernetes Camp (Linuxhotel)-20221128.pdf mode change 100644 => 100755 carpool/.dockerignore mode change 100644 => 100755 carpool/Dockerfile mode change 100644 => 100755 carpool/car_1.json mode change 100644 => 100755 carpool/car_2.json mode change 100644 => 100755 carpool/docker-compose.yml mode change 100644 => 100755 carpool/esentricar.sql mode change 100644 => 100755 carpool/index.env mode change 100644 => 100755 carpool/python_rest.py mode change 100644 => 100755 carpool/requirements.txt mode change 100644 => 100755 check_this mode change 100644 => 100755 dive_check_dockerfile mode change 100644 => 100755 docker_commands mode change 100644 => 100755 docker_compose_notizen mode change 100644 => 100755 docker_restapi mode change 100644 => 100755 docker_sheets mode change 100644 => 100755 example_start_treafik mode change 100644 => 100755 first_con mode change 100644 => 100755 get-docker.sh mode change 100644 => 100755 git_sync/create_volume mode change 100644 => 100755 git_sync/deployment mode change 100644 => 100755 git_sync/git_project/HEAD mode change 100644 => 100755 git_sync/git_project/config mode change 100644 => 100755 git_sync/git_project/description mode change 100644 => 100755 git_sync/git_project/info/exclude mode change 100644 => 100755 git_sync/pvc mode change 100644 => 100755 harbor_install mode change 100644 => 100755 k3d/blue-green/doku mode change 100644 => 100755 k3d/blue-green/nginx-svc.yaml mode change 100644 => 100755 k3d/blue-green/nginx-v1.yaml mode change 100644 => 100755 k3d/blue-green/nginx-v2.yaml mode change 100644 => 100755 k3d/install_k3d mode change 100644 => 100755 k3d/nginx1/deployment-nginx.yaml mode change 100644 => 100755 k3d/only_install mode change 100644 => 100755 k3d/pod_init/doku mode change 100644 => 100755 k3d/registries.yml mode change 100644 => 100755 k3d/stress/deployment2.yaml mode change 100644 => 100755 k3d/stress/doku mode change 100644 => 100755 k3d/volumes/pv mode change 100644 => 100755 k3d/volumes/pvc mode change 100644 => 100755 k3d/whoami-pod.yaml mode change 100644 => 100755 k3d/whoami4-pod.yaml mode change 100644 => 100755 k8s/carpool/Dockerfile mode change 100644 => 100755 k8s/carpool/deployment.yaml mode change 100644 => 100755 k8s/carpool/doku mode change 100644 => 100755 k8s/carpool/esentricar.sql mode change 100644 => 100755 k8s/carpool/index.env mode change 100644 => 100755 k8s/carpool/node-service.yaml mode change 100644 => 100755 k8s/carpool/postgres-config.yaml mode change 100644 => 100755 k8s/carpool/postgres-deploy.yaml mode change 100644 => 100755 k8s/carpool/postgres-pv-claim.yaml mode change 100644 => 100755 k8s/carpool/postgres-schema-cm.yaml mode change 100644 => 100755 k8s/carpool/postgres-service.yaml mode change 100644 => 100755 k8s/carpool/python_rest.py mode change 100644 => 100755 k8s/carpool/requirements.txt mode change 100644 => 100755 k8s/carpool/service.yaml mode change 100644 => 100755 k8s/config_map mode change 100644 => 100755 k8s/deployment mode change 100644 => 100755 k8s/install_nginx mode change 100644 => 100755 k8s/k8s_Object_Structure mode change 100644 => 100755 k8s/monitoring create mode 100755 k8s/nginx/2/deployment-nginx.yaml create mode 100755 k8s/nginx/deployment-nginx.yaml mode change 100644 => 100755 k8s/nginx/nginx-svc.yaml mode change 100644 => 100755 k8s/nginx/nginx1.yaml mode change 100644 => 100755 k8s/nginx/nginx_namespace.yaml mode change 100644 => 100755 k8s/nginx/nginx_pod.yaml delete mode 100644 k8s/nginx/nginx_service.yaml mode change 100644 => 100755 k8s/pods mode change 100644 => 100755 k8s/pvc mode change 100644 => 100755 maven/Dockerfile mode change 100644 => 100755 mysql/docker-compose.yml mode change 100644 => 100755 mysql/web/Dockerfile mode change 100644 => 100755 nginx/docker-compose.yml mode change 100644 => 100755 nginx/htdocs/index.html mode change 100644 => 100755 nginx/images_commands mode change 100644 => 100755 portainer/docker-compose.yml mode change 100644 => 100755 python_docker.py mode change 100644 => 100755 selinux_arch mode change 100644 => 100755 traefik/doku mode change 100644 => 100755 traefik/web-helm/.helmignore mode change 100644 => 100755 traefik/web-helm/Chart.yaml mode change 100644 => 100755 traefik/web-helm/templates/NOTES.txt mode change 100644 => 100755 traefik/web-helm/templates/_helpers.tpl mode change 100644 => 100755 traefik/web-helm/templates/deployment.yaml mode change 100644 => 100755 traefik/web-helm/templates/hpa.yaml mode change 100644 => 100755 traefik/web-helm/templates/ingress.yaml mode change 100644 => 100755 traefik/web-helm/templates/service.yaml mode change 100644 => 100755 traefik/web-helm/templates/serviceaccount.yaml mode change 100644 => 100755 traefik/web-helm/templates/tests/test-connection.yaml mode change 100644 => 100755 traefik/web-helm/values.yaml diff --git a/__pycache__/python_docker.cpython-38.pyc b/__pycache__/python_docker.cpython-38.pyc old mode 100644 new mode 100755 diff --git a/bee42-PeterRossbach Kubernetes Camp (Linuxhotel)-20221128.pdf b/bee42-PeterRossbach Kubernetes Camp (Linuxhotel)-20221128.pdf old mode 100644 new mode 100755 diff --git a/carpool/.dockerignore b/carpool/.dockerignore old mode 100644 new mode 100755 diff --git a/carpool/Dockerfile b/carpool/Dockerfile old mode 100644 new mode 100755 diff --git a/carpool/car_1.json b/carpool/car_1.json old mode 100644 new mode 100755 diff --git a/carpool/car_2.json b/carpool/car_2.json old mode 100644 new mode 100755 diff --git a/carpool/docker-compose.yml b/carpool/docker-compose.yml old mode 100644 new mode 100755 diff --git a/carpool/esentricar.sql b/carpool/esentricar.sql old mode 100644 new mode 100755 diff --git a/carpool/index.env b/carpool/index.env old mode 100644 new mode 100755 diff --git a/carpool/python_rest.py b/carpool/python_rest.py old mode 100644 new mode 100755 diff --git a/carpool/requirements.txt b/carpool/requirements.txt old mode 100644 new mode 100755 diff --git a/check_this b/check_this old mode 100644 new mode 100755 diff --git a/dive_check_dockerfile b/dive_check_dockerfile old mode 100644 new mode 100755 diff --git a/docker_commands b/docker_commands old mode 100644 new mode 100755 diff --git a/docker_compose_notizen b/docker_compose_notizen old mode 100644 new mode 100755 diff --git a/docker_restapi b/docker_restapi old mode 100644 new mode 100755 diff --git a/docker_sheets b/docker_sheets old mode 100644 new mode 100755 diff --git a/example_start_treafik b/example_start_treafik old mode 100644 new mode 100755 diff --git a/first_con b/first_con old mode 100644 new mode 100755 diff --git a/get-docker.sh b/get-docker.sh old mode 100644 new mode 100755 diff --git a/git_sync/create_volume b/git_sync/create_volume old mode 100644 new mode 100755 diff --git a/git_sync/deployment b/git_sync/deployment old mode 100644 new mode 100755 diff --git a/git_sync/git_project/HEAD b/git_sync/git_project/HEAD old mode 100644 new mode 100755 diff --git a/git_sync/git_project/config b/git_sync/git_project/config old mode 100644 new mode 100755 diff --git a/git_sync/git_project/description b/git_sync/git_project/description old mode 100644 new mode 100755 diff --git a/git_sync/git_project/info/exclude b/git_sync/git_project/info/exclude old mode 100644 new mode 100755 diff --git a/git_sync/pvc b/git_sync/pvc old mode 100644 new mode 100755 diff --git a/harbor_install b/harbor_install old mode 100644 new mode 100755 diff --git a/k3d/blue-green/doku b/k3d/blue-green/doku old mode 100644 new mode 100755 diff --git a/k3d/blue-green/nginx-svc.yaml b/k3d/blue-green/nginx-svc.yaml old mode 100644 new mode 100755 diff --git a/k3d/blue-green/nginx-v1.yaml b/k3d/blue-green/nginx-v1.yaml old mode 100644 new mode 100755 diff --git a/k3d/blue-green/nginx-v2.yaml b/k3d/blue-green/nginx-v2.yaml old mode 100644 new mode 100755 diff --git a/k3d/install_k3d b/k3d/install_k3d old mode 100644 new mode 100755 index 9fe52d3..4ca7aef --- a/k3d/install_k3d +++ b/k3d/install_k3d @@ -1,5 +1,5 @@ mkdir ~/k3d - +##### curl -s https://raw.githubusercontent.com/rancher/k3d/main/install.sh | bash CLUSTER=cnbc IP4=$(/sbin/ip -o -4 addr list br2 | awk '{print $4}' | cut -d/ -f1) @@ -85,4 +85,4 @@ source <(helm completion bash) default Namespace nächste commands -kubectl config set-context --current --namespace whoami \ No newline at end of file +kubectl config set-context --current --namespace whoami diff --git a/k3d/nginx1/deployment-nginx.yaml b/k3d/nginx1/deployment-nginx.yaml old mode 100644 new mode 100755 diff --git a/k3d/only_install b/k3d/only_install old mode 100644 new mode 100755 diff --git a/k3d/pod_init/doku b/k3d/pod_init/doku old mode 100644 new mode 100755 diff --git a/k3d/registries.yml b/k3d/registries.yml old mode 100644 new mode 100755 index f42b372..d59e221 --- a/k3d/registries.yml +++ b/k3d/registries.yml @@ -1,6 +1,5 @@ mirrors: docker.io: endpoint: - - "http://192.168.1.246:5001" - "https://mirror.gcr.io" - "https://docker.io" diff --git a/k3d/stress/deployment2.yaml b/k3d/stress/deployment2.yaml old mode 100644 new mode 100755 diff --git a/k3d/stress/doku b/k3d/stress/doku old mode 100644 new mode 100755 diff --git a/k3d/volumes/pv b/k3d/volumes/pv old mode 100644 new mode 100755 diff --git a/k3d/volumes/pvc b/k3d/volumes/pvc old mode 100644 new mode 100755 diff --git a/k3d/whoami-pod.yaml b/k3d/whoami-pod.yaml old mode 100644 new mode 100755 diff --git a/k3d/whoami4-pod.yaml b/k3d/whoami4-pod.yaml old mode 100644 new mode 100755 diff --git a/k8s/carpool/Dockerfile b/k8s/carpool/Dockerfile old mode 100644 new mode 100755 diff --git a/k8s/carpool/deployment.yaml b/k8s/carpool/deployment.yaml old mode 100644 new mode 100755 diff --git a/k8s/carpool/doku b/k8s/carpool/doku old mode 100644 new mode 100755 diff --git a/k8s/carpool/esentricar.sql b/k8s/carpool/esentricar.sql old mode 100644 new mode 100755 diff --git a/k8s/carpool/index.env b/k8s/carpool/index.env old mode 100644 new mode 100755 diff --git a/k8s/carpool/node-service.yaml b/k8s/carpool/node-service.yaml old mode 100644 new mode 100755 diff --git a/k8s/carpool/postgres-config.yaml b/k8s/carpool/postgres-config.yaml old mode 100644 new mode 100755 diff --git a/k8s/carpool/postgres-deploy.yaml b/k8s/carpool/postgres-deploy.yaml old mode 100644 new mode 100755 diff --git a/k8s/carpool/postgres-pv-claim.yaml b/k8s/carpool/postgres-pv-claim.yaml old mode 100644 new mode 100755 diff --git a/k8s/carpool/postgres-schema-cm.yaml b/k8s/carpool/postgres-schema-cm.yaml old mode 100644 new mode 100755 diff --git a/k8s/carpool/postgres-service.yaml b/k8s/carpool/postgres-service.yaml old mode 100644 new mode 100755 diff --git a/k8s/carpool/python_rest.py b/k8s/carpool/python_rest.py old mode 100644 new mode 100755 diff --git a/k8s/carpool/requirements.txt b/k8s/carpool/requirements.txt old mode 100644 new mode 100755 diff --git a/k8s/carpool/service.yaml b/k8s/carpool/service.yaml old mode 100644 new mode 100755 diff --git a/k8s/config_map b/k8s/config_map old mode 100644 new mode 100755 diff --git a/k8s/deployment b/k8s/deployment old mode 100644 new mode 100755 diff --git a/k8s/install_nginx b/k8s/install_nginx old mode 100644 new mode 100755 diff --git a/k8s/k8s_Object_Structure b/k8s/k8s_Object_Structure old mode 100644 new mode 100755 diff --git a/k8s/monitoring b/k8s/monitoring old mode 100644 new mode 100755 diff --git a/k8s/nginx/2/deployment-nginx.yaml b/k8s/nginx/2/deployment-nginx.yaml new file mode 100755 index 0000000..1360c09 --- /dev/null +++ b/k8s/nginx/2/deployment-nginx.yaml @@ -0,0 +1,22 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app: web + name: web +spec: + replicas: 1 + selector: + matchLabels: + app: web + template: + metadata: + labels: + app: web + spec: + containers: + - image: nginx + name: nginx + ports: + - name: http + containerPort: 80 diff --git a/k8s/nginx/deployment-nginx.yaml b/k8s/nginx/deployment-nginx.yaml new file mode 100755 index 0000000..73001a2 --- /dev/null +++ b/k8s/nginx/deployment-nginx.yaml @@ -0,0 +1,22 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app: nginx + name: nginx +spec: + replicas: 1 + selector: + matchLabels: + app: nginx + template: + metadata: + labels: + app: nginx + spec: + containers: + - image: nginx + name: nginx + ports: + - name: http + containerPort: 80 diff --git a/k8s/nginx/nginx-svc.yaml b/k8s/nginx/nginx-svc.yaml old mode 100644 new mode 100755 index 84ef950..9bb48ef --- a/k8s/nginx/nginx-svc.yaml +++ b/k8s/nginx/nginx-svc.yaml @@ -2,9 +2,8 @@ apiVersion: v1 kind: Service metadata: creationTimestamp: null - namespace: nginx labels: - name: nginx + app: nginx name: nginx spec: ports: @@ -12,6 +11,6 @@ spec: protocol: TCP targetPort: 80 selector: - run: nginx + app: nginx status: loadBalancer: {} diff --git a/k8s/nginx/nginx1.yaml b/k8s/nginx/nginx1.yaml old mode 100644 new mode 100755 diff --git a/k8s/nginx/nginx_namespace.yaml b/k8s/nginx/nginx_namespace.yaml old mode 100644 new mode 100755 diff --git a/k8s/nginx/nginx_pod.yaml b/k8s/nginx/nginx_pod.yaml old mode 100644 new mode 100755 index eec9225..16cbf85 --- a/k8s/nginx/nginx_pod.yaml +++ b/k8s/nginx/nginx_pod.yaml @@ -8,10 +8,10 @@ metadata: spec: containers: - name: nginx - image: nginx:1.19.3 + image: nginx resources: limits: memory: "128Mi" cpu: "500m" ports: - - containerPort: 80 \ No newline at end of file + - containerPort: 80 diff --git a/k8s/nginx/nginx_service.yaml b/k8s/nginx/nginx_service.yaml deleted file mode 100644 index c51afd1..0000000 --- a/k8s/nginx/nginx_service.yaml +++ /dev/null @@ -1,13 +0,0 @@ ---- -apiVersion: v1 -kind: Service -metadata: - name: nginx - namespace: nginx - labels: - name: nginx -spec: - ports: - - protocol: TCP - port: 80 - targetPort: 80 \ No newline at end of file diff --git a/k8s/pods b/k8s/pods old mode 100644 new mode 100755 diff --git a/k8s/pvc b/k8s/pvc old mode 100644 new mode 100755 diff --git a/maven/Dockerfile b/maven/Dockerfile old mode 100644 new mode 100755 diff --git a/mysql/docker-compose.yml b/mysql/docker-compose.yml old mode 100644 new mode 100755 diff --git a/mysql/web/Dockerfile b/mysql/web/Dockerfile old mode 100644 new mode 100755 diff --git a/nginx/docker-compose.yml b/nginx/docker-compose.yml old mode 100644 new mode 100755 diff --git a/nginx/htdocs/index.html b/nginx/htdocs/index.html old mode 100644 new mode 100755 diff --git a/nginx/images_commands b/nginx/images_commands old mode 100644 new mode 100755 diff --git a/portainer/docker-compose.yml b/portainer/docker-compose.yml old mode 100644 new mode 100755 diff --git a/python_docker.py b/python_docker.py old mode 100644 new mode 100755 index 5a1bdc3..09f158b --- a/python_docker.py +++ b/python_docker.py @@ -23,4 +23,4 @@ def show_docker_con_img(input): return output_list print(show_docker_con_img("containers")) -#print(show_docker_con_img("images")) +print(show_docker_con_img("images")) diff --git a/selinux_arch b/selinux_arch old mode 100644 new mode 100755 diff --git a/traefik/doku b/traefik/doku old mode 100644 new mode 100755 diff --git a/traefik/web-helm/.helmignore b/traefik/web-helm/.helmignore old mode 100644 new mode 100755 diff --git a/traefik/web-helm/Chart.yaml b/traefik/web-helm/Chart.yaml old mode 100644 new mode 100755 diff --git a/traefik/web-helm/templates/NOTES.txt b/traefik/web-helm/templates/NOTES.txt old mode 100644 new mode 100755 diff --git a/traefik/web-helm/templates/_helpers.tpl b/traefik/web-helm/templates/_helpers.tpl old mode 100644 new mode 100755 diff --git a/traefik/web-helm/templates/deployment.yaml b/traefik/web-helm/templates/deployment.yaml old mode 100644 new mode 100755 diff --git a/traefik/web-helm/templates/hpa.yaml b/traefik/web-helm/templates/hpa.yaml old mode 100644 new mode 100755 diff --git a/traefik/web-helm/templates/ingress.yaml b/traefik/web-helm/templates/ingress.yaml old mode 100644 new mode 100755 diff --git a/traefik/web-helm/templates/service.yaml b/traefik/web-helm/templates/service.yaml old mode 100644 new mode 100755 diff --git a/traefik/web-helm/templates/serviceaccount.yaml b/traefik/web-helm/templates/serviceaccount.yaml old mode 100644 new mode 100755 diff --git a/traefik/web-helm/templates/tests/test-connection.yaml b/traefik/web-helm/templates/tests/test-connection.yaml old mode 100644 new mode 100755 diff --git a/traefik/web-helm/values.yaml b/traefik/web-helm/values.yaml old mode 100644 new mode 100755