Fixed files
Some checks failed
Gitea Actions Demo Training / Explore-Gitea-Actions (push) Failing after 14s

This commit is contained in:
2024-01-07 21:17:15 +01:00
parent 798479528c
commit b6e70b4cac
203 changed files with 336 additions and 385 deletions

11
.pre-commit-config.yaml Normal file
View File

@@ -0,0 +1,11 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.3.0
hooks:
#- id: check-yaml
- id: end-of-file-fixer
- id: trailing-whitespace
#- repo: https://github.com/psf/black
# rev: 22.10.0
# hooks:
# - id: black

View File

@@ -33,4 +33,3 @@ subsets:
ports:
- port: 8000
protocol: TCP

View File

@@ -15,4 +15,3 @@ spec:
- http01:
ingress:
class: traefik

View File

@@ -15,4 +15,3 @@ spec:
kind: Coffee
shortNames:
- cof

View File

@@ -18,4 +18,3 @@ spec:
kind: Coffee
shortNames:
- cof

View File

@@ -25,4 +25,3 @@ spec:
- name: docker-socket
hostPath:
path: /var/run/docker.sock

View File

@@ -18,4 +18,3 @@ spec:
use-ssl: false
data-volume-size: 10Gi
java-options: "-Xms512m -Xmx512m"

View File

@@ -27,4 +27,3 @@ source:
#host: node1
#reportingComponent: ""
#reportingInstance: ""

View File

@@ -33,4 +33,3 @@ source:
component: gitops-sync
#reportingComponent: ""
#reportingInstance: ""

View File

@@ -31,4 +31,3 @@ spec:
containers:
- name: web
image: nginx

View File

@@ -13,4 +13,3 @@ spec:
volumeMounts:
- name: config
mountPath: /usr/local/etc/haproxy/

View File

@@ -26,4 +26,3 @@ spec:
target:
type: Value
value: 0.1

View File

@@ -7,4 +7,3 @@ spec:
containers:
- name: hello
image: nginx

View File

@@ -26,4 +26,3 @@ spec:
mountPath: /workspace
volumes:
- name: workspace

View File

@@ -60,4 +60,3 @@ spec:
ingress:
- from:
- podSelector: {}

View File

@@ -28,4 +28,3 @@ spec:
- key: "{{ request.object.metadata.labels.color }}"
operator: NotEquals
value: "{{ request.oldObject.metadata.labels.color }}"

View File

@@ -25,4 +25,3 @@ spec:
message: "Once label color has been added, it cannot be removed."
deny:
conditions:

View File

@@ -43,4 +43,3 @@ spec:
- kind: ServiceAccount
name: default
namespace: "{{request.object.metadata.namespace}}"

View File

@@ -155,6 +155,3 @@ data:
containers:
- name: helper-pod
image: busybox

View File

@@ -11,4 +11,3 @@ spec:
- podSelector:
matchLabels:
run: testcurl

View File

@@ -7,4 +7,3 @@ spec:
matchLabels:
app: testweb
ingress: []

View File

@@ -18,4 +18,3 @@ spec:
app: webui
ingress:
- from: []

View File

@@ -18,4 +18,3 @@ spec:
- name: www
mountPath: /www/
restartPolicy: OnFailure

View File

@@ -21,4 +21,3 @@ spec:
volumeMounts:
- mountPath: /mnt/storage
name: storage

View File

@@ -37,4 +37,3 @@ spec:
resources:
requests:
storage: 1Gi

View File

@@ -36,4 +36,3 @@ rules:
resources: ['podsecuritypolicies']
verbs: ['use']
resourceNames: ['privileged']

View File

@@ -35,4 +35,3 @@ rules:
resources: ['podsecuritypolicies']
verbs: ['use']
resourceNames: ['restricted']

View File

@@ -12,4 +12,3 @@ spec:
configMapKeyRef:
name: registry
key: http.addr

View File

@@ -8,4 +8,3 @@ provisioner: kubernetes.io/portworx-volume
parameters:
repl: "2"
priority_io: "high"

View File

@@ -30,4 +30,3 @@ subjects:
- kind: ServiceAccount
name: jean.doe
namespace: users

View File

@@ -61,4 +61,3 @@ spec:
operator: In
values:
- node4

View File

@@ -21,4 +21,3 @@ export OS_FLAVOR=s1-4
export OS_IMAGE=896c5f54-51dc-44f0-8c22-ce99ba7164df
# You can create a key with `openstack keypair create --public-key ~/.ssh/id_rsa.pub containertraining`
export OS_KEY=containertraining

View File

@@ -39,4 +39,3 @@
</body>
</html>

View File

@@ -2,4 +2,3 @@ resource "openstack_compute_keypair_v2" "ssh_deploy_key" {
name = var.prefix
public_key = file("~/.ssh/id_rsa.pub")
}

View File

@@ -19,5 +19,3 @@ resource "openstack_networking_router_interface_v2" "router_internal" {
router_id = openstack_networking_router_v2.router.id
subnet_id = openstack_networking_subnet_v2.internal.id
}

View File

@@ -9,4 +9,3 @@ resource "openstack_networking_secgroup_rule_v2" "full_access" {
remote_ip_prefix = "0.0.0.0/0"
security_group_id = openstack_networking_secgroup_v2.full_access.id
}

View File

@@ -5,4 +5,3 @@ https://www.youtube.com/watch?v=MHv6cWjvQjM&list=PLkA60AVN3hh-biQ6SCtBJ-WVTyBmmY
Cilium: Network and Application Security with BPF and XDP
https://www.youtube.com/watch?v=ilKlmTDdFgk&list=PLkA60AVN3hh-biQ6SCtBJ-WVTyBmmYho8&index=9

View File

@@ -18,4 +18,3 @@ socket.on('slide change', function (n) {
slideshow.gotoSlide(n);
leader = true;
});

View File

@@ -4,4 +4,3 @@
tmux set-option -g status-left ""
tmux set-option -g status-right ""
tmux set-option -g status-style bg=cyan

View File

@@ -13,4 +13,3 @@ services:
- ..:/repo
working_dir: /repo/slides
command: ./build.sh forever

View File

@@ -220,4 +220,3 @@ We've learned how to:
* Create links between containers.
* Use names and links to communicate across containers.

View File

@@ -170,4 +170,3 @@ Would we give the same answers to the questions on the previous slide?
class: pic
![Cloud Native Landscape](https://landscape.cncf.io/images/landscape.png)

View File

@@ -54,4 +54,3 @@ state.show()
for part in sorted(state.parts, key=lambda f: int(f.split("-")[1])):
part_size = sum(state.sections[s] for s in state.parts[part])
print("{}\t{}\t{}".format("total size for", part, part_size))

View File

@@ -36,4 +36,3 @@ services:
```
Start the container: `docker-compose up -d`

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 680 KiB

After

Width:  |  Height:  |  Size: 680 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 266 KiB

After

Width:  |  Height:  |  Size: 266 KiB

View File

@@ -983,4 +983,3 @@
- title: Deploying and Scaling Microservices with Docker and Kubernetes
slides: kube-selfpaced.yml.html

View File

@@ -175,4 +175,3 @@ Check [this blog post](http://jpetazzo.github.io/2019/02/13/running-kubernetes-w
:FR:- Ce qui se passe quand il n'y a plus assez de ressources
:FR:- Dimensionner et redimensionner ses clusters

View File

@@ -208,4 +208,3 @@ spec:
:EN:- Understanding Persistent Volume Claims and Storage Classes
:FR:- Déployer une application avec un *Stateful Set*
:FR:- Comprendre les *Persistent Volume Claims* et *Storage Classes*

View File

@@ -87,4 +87,3 @@ content:
- k8s/apiserver-deepdive.md
#- k8s/record.md
- shared/thankyou.md

View File

@@ -13,4 +13,3 @@
- Feel free to interrupt for questions at any time
- *Especially when you see full screen container pictures!*

View File

@@ -84,4 +84,3 @@ CMD ["python", "worker.py"]
| python:latest | 888 Mb | 1114 |
| python:alpine | 73,5 Mb | 3 |
| python:multistage | 73,5 Mb | 3 |

View File

@@ -65,4 +65,3 @@
class: pic
![Diagram showing the 5 containers of the applications](images/dockercoins-diagram.png)

View File

@@ -9,4 +9,3 @@
- Reminder, the room is @@CHAT@@
- Say hi in the chat room!

View File

@@ -353,4 +353,3 @@ class: extra-details
Some containers exit immediately, others take longer.
The containers that do not handle `SIGTERM` end up being killed after a 10s timeout. If we are very impatient, we can hit `^C` a second time!

View File

@@ -1,4 +1,2 @@
@@TOC@@

View File

@@ -385,4 +385,3 @@ And DockerCon Black Belt talks:
.blackbelt[DC17EU: Container Orchestration from Theory to Practice
([video](https://dockercon.docker.com/watch/5fhwnQxW8on1TKxPwwXZ5r))]