hinzugefügt die README.md Dateien in den Bereich Kubernetes, Helm, ISTIO, Cady-Server,root Ordner
This commit is contained in:
parent
a3aa5dd4d0
commit
28ed32f48d
14
ISTIO/README.md
Normal file
14
ISTIO/README.md
Normal file
@ -0,0 +1,14 @@
|
||||
### ISTIO
|
||||
Der folgende Repository beinhaltet die erstellten Definition des ISTIO Services, die bei dem Kurs `Istio Hands-On for Kubernetes` behandelt wurden.
|
||||
|
||||
```
|
||||
.
|
||||
├── 1-istio-init.yaml
|
||||
├── 2-istio-minikube.yaml
|
||||
├── 3-kiali-secret.yaml
|
||||
├── 4-label-default-namespace.yaml
|
||||
├── 5-application-no-istio.yaml
|
||||
└── README.md
|
||||
|
||||
0 directories, 6 files
|
||||
```
|
||||
113
Kubernetes/README.md
Normal file
113
Kubernetes/README.md
Normal file
@ -0,0 +1,113 @@
|
||||
### Kubernetes
|
||||
Der folgende Repository beinhaltet die erstellten Definition des Kubernetes Orchestration Tools, die bei den Kursen `Udemy - Certified Kubernetes Administrator (CKA) with Practice Tests` und `Linux Foundation - Certified Kubernetes Administrator (CKA)` behandelt wurden.
|
||||
|
||||
```
|
||||
.
|
||||
├── abac-authorization-definition.json
|
||||
├── abstimmung-app
|
||||
│ ├── abstimmung-app-pod.yaml
|
||||
│ ├── deployments
|
||||
│ │ ├── abstimmung-app-deploy.yaml
|
||||
│ │ ├── abstimmung-app-service.yaml
|
||||
│ │ ├── ergebnisse-app-deploy.yaml
|
||||
│ │ ├── ergebnisse-app-service.yaml
|
||||
│ │ ├── postgres-deploy.yaml
|
||||
│ │ ├── postgress-service.yaml
|
||||
│ │ ├── redis-deploy.yaml
|
||||
│ │ ├── redis-service.yaml
|
||||
│ │ └── worker-deploy.yaml
|
||||
│ ├── ergebnisse-app-pod.yaml
|
||||
│ ├── postgres-pod.yaml
|
||||
│ ├── redis-pod.yaml
|
||||
│ └── worker-pod.yaml
|
||||
├── all-deploy-services.yaml
|
||||
├── ca.crt
|
||||
├── ca.csr
|
||||
├── ca.key
|
||||
├── certificate-Signing-Request-Definition.yaml
|
||||
├── clusterIP-service-definition.yml
|
||||
├── cluster-role-user-adding-definition.yml
|
||||
├── cluster-role-user-and-storage-adding-definition.yml
|
||||
├── config-map.yml
|
||||
├── daemon-set-definition.yml
|
||||
├── daemonset-definition.yml
|
||||
├── deployment-definition-with-node-affinity-2.yml
|
||||
├── deployment-definition-with-node-affinity.yml
|
||||
├── deployment-definition-with-recreate-strategy.yml
|
||||
├── deployment-definition-with-rolingupdate-strategy.yml
|
||||
├── deployment-definition.yml
|
||||
├── deployment-definiton-webapp.yml
|
||||
├── deployment-definiton.yaml
|
||||
├── deployment-httpd-replicas.yml
|
||||
├── deployment-with-service-account.yml
|
||||
├── developer-role.yml
|
||||
├── devuser-developer-binding.yml
|
||||
├── Dockerfile
|
||||
├── event-simulator.yml
|
||||
├── ktop
|
||||
├── kube-apiserver-with-basic-auth-file.yml
|
||||
├── kube-apiserver.yml
|
||||
├── kube-config-definition.yml
|
||||
├── kube-config-with-namespaces-certifikates-definition-1.yml
|
||||
├── kube-config-with-namespaces-certifikates-definition.yml
|
||||
├── LFS258
|
||||
│ ├── car-map.yaml
|
||||
│ ├── cluster-creation.yaml
|
||||
│ ├── cron-job-with-output.yaml
|
||||
│ ├── customResource
|
||||
│ │ ├── crd.yaml
|
||||
│ │ └── new-crontab.yaml
|
||||
│ ├── deployment-with-taint.yaml
|
||||
│ ├── ds_changed_strategy.yaml
|
||||
│ ├── ds.yaml
|
||||
│ ├── favorite
|
||||
│ ├── pods-into-vip-node.yaml
|
||||
│ ├── primary
|
||||
│ │ ├── black
|
||||
│ │ ├── cyan
|
||||
│ │ ├── magenta
|
||||
│ │ └── yellow
|
||||
│ ├── pvc.yaml
|
||||
│ ├── rs.yaml
|
||||
│ ├── secret.yaml
|
||||
│ └── simpleshell.yaml
|
||||
├── loadBalancer-service-definition.yml
|
||||
├── namespace-dev-definition.yml
|
||||
├── network-policy-definition-allowed-from-all-namespaces.yml
|
||||
├── nginx-definition1.yaml
|
||||
├── nginx-definition.yaml
|
||||
├── nodePort-service-definition.yml
|
||||
├── persistent-volume-claim-definition.yml
|
||||
├── persistent-volume-definition.yml
|
||||
├── pod-definition-dev-namespace.yml
|
||||
├── pod-definition-multiple-containers.yml
|
||||
├── pod-definition-nodeName.yml
|
||||
├── pod-definition-with-commands-and-arguments-1.yml
|
||||
├── pod-definition-with-commands-and-arguments.yml
|
||||
├── pod-definition-with-commands.yml
|
||||
├── pod-definition-with-config-map-variables-injection.yml
|
||||
├── pod-definition-with-init-container.yml
|
||||
├── pod-definition-with-random-generation-numbers-and-volume.yml
|
||||
├── pod-definition_with_resource_limits.yaml
|
||||
├── pod-definition-with-secret-reference.yml
|
||||
├── pod-definition-with-toleration.yml
|
||||
├── pod-definition.yml
|
||||
├── pod-with-toleration-definiton-1.yml
|
||||
├── pod-with-toleration-definiton-2.yml
|
||||
├── postgres_with_env_variable.yaml
|
||||
├── rc-definition.yml
|
||||
├── README.md
|
||||
├── replicaSet-definition.yaml
|
||||
├── replicaset-definition.yml
|
||||
├── replicaset-definiton.yml
|
||||
├── replication_controller-definition.yaml
|
||||
├── resource-quota-definition.yml
|
||||
├── role-definition-kube-apiserver.yml
|
||||
├── secret-definiton.yml
|
||||
├── security-definiton-kube-apiserver.yml
|
||||
├── service-definition.yaml
|
||||
├── user-details.csv
|
||||
└── user-token-details.csv
|
||||
|
||||
5 directories, 100 files
|
||||
```
|
||||
10
README.md
Normal file
10
README.md
Normal file
@ -0,0 +1,10 @@
|
||||
# Das DevOps Repository beinhaltet derzeit folgende Bereiche
|
||||
In jedem Bereich befindet sich README.md Datei. Im Root Ordner des Bereichs steht entweder Anleitung, Beschreibung oder Datei Structur des Bereichs
|
||||
### Kubernetes
|
||||
>[./Kubernetes/README.md]([https://https://git.me2digital.com/d.aster/DevOps/])
|
||||
### Helm Tool
|
||||
>[./helm/README.md]([https://](https://git.me2digital.com/d.aster/DevOps/src/branch/master/helm))
|
||||
### Cady Server
|
||||
>[./caddy-server/README.md]([https://](https://git.me2digital.com/d.aster/DevOps/src/branch/master/caddy-server))
|
||||
### ISTIO
|
||||
>[./ISTIO/README.md](https://git.me2digital.com/d.aster/DevOps/src/branch/master/ISTIO)
|
||||
11
caddy-server/README.md
Normal file
11
caddy-server/README.md
Normal file
@ -0,0 +1,11 @@
|
||||
### CADY Server
|
||||
Die folgenden Cady Server Definitionen beinhaltet Konfiguration des Servers, der auf verschiedene "requeste" entweder mit der `curl <POST Anfrage>` oder mit der Konfiguration Anfrage `caddy-server/configuration-definition-with-API-more-interfaces` reagiert.
|
||||
```
|
||||
.
|
||||
├── Caddyfile
|
||||
├── configuration-definition-with-API
|
||||
├── configuration-definition-with-API-more-interfaces
|
||||
└── README.md
|
||||
|
||||
0 directories, 4 files
|
||||
```
|
||||
62
helm/README.md
Normal file
62
helm/README.md
Normal file
@ -0,0 +1,62 @@
|
||||
### HELM
|
||||
Der folgende Ordner beinhaltet zwei locale HELM Chart Templates, womit kann man dynamisch/oder wieder verwendeten Objekte des Kubernetes generieren und sie in die Kubernetes Cluster deployen. In folgenden Beispielen kann man dynamisch ein `Deployment`, `namespace`, `pod`, `service` als auch ein postgres generieren/erstellen.
|
||||
|
||||
Deployment eines Charts in die Kubernetes Cluster
|
||||
|
||||
`helm install <Name des Charts> .`
|
||||
```
|
||||
.
|
||||
├── deployment
|
||||
│ ├── Chart.yaml
|
||||
│ ├── NOTES.txt
|
||||
│ ├── pod.yaml
|
||||
│ ├── service.yaml
|
||||
│ ├── templates
|
||||
│ │ ├── deployment.yaml
|
||||
│ │ ├── _helpers.tpl
|
||||
│ │ └── namespace.yaml
|
||||
│ └── values.yaml
|
||||
├── postgress
|
||||
│ ├── Chart.yaml
|
||||
│ ├── postgress.yaml
|
||||
│ ├── templates
|
||||
│ │ ├── _helpers.tpl
|
||||
│ │ ├── NOTES.txt
|
||||
│ │ ├── postgress-config.yaml
|
||||
│ │ ├── postgress-deployment.yaml
|
||||
│ │ ├── postgress-pvc.yaml
|
||||
│ │ └── postgress-svc.yaml
|
||||
│ └── values.yaml
|
||||
└── README.md
|
||||
|
||||
4 directories, 18 files
|
||||
```
|
||||
|
||||
Ein Beispiel eines Deployments Definition `./template/deployment.yaml`die nimmt die Daten aus der `./values.yaml` und erstellt ein Deployment in die Kuberenetes Cluster
|
||||
```
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
labels:
|
||||
{{- $replica := .Values.replicacount}}
|
||||
{{- $image := .Values.imagenginx}}
|
||||
{{- with .Values.service}}
|
||||
app: {{.labels.app}}
|
||||
name: {{.labels.app}}-deployment
|
||||
spec:
|
||||
replicas: {{$replica}}
|
||||
selector:
|
||||
matchLabels:
|
||||
app: {{.labels.app}}
|
||||
strategy: {}
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: {{.labels.app}}
|
||||
spec:
|
||||
containers:
|
||||
- image: {{$image}}
|
||||
name: {{.labels.app}}
|
||||
imagePullPolicy: IfNoPresent
|
||||
{{end}}
|
||||
```
|
||||
Loading…
x
Reference in New Issue
Block a user