Fixed files
Some checks failed
Gitea Actions Demo Training / Explore-Gitea-Actions (push) Failing after 14s
Some checks failed
Gitea Actions Demo Training / Explore-Gitea-Actions (push) Failing after 14s
This commit is contained in:
11
.pre-commit-config.yaml
Normal file
11
.pre-commit-config.yaml
Normal 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
|
||||
@@ -33,4 +33,3 @@ subsets:
|
||||
ports:
|
||||
- port: 8000
|
||||
protocol: TCP
|
||||
|
||||
|
||||
@@ -15,4 +15,3 @@ spec:
|
||||
- http01:
|
||||
ingress:
|
||||
class: traefik
|
||||
|
||||
|
||||
@@ -15,4 +15,3 @@ spec:
|
||||
kind: Coffee
|
||||
shortNames:
|
||||
- cof
|
||||
|
||||
|
||||
@@ -18,4 +18,3 @@ spec:
|
||||
kind: Coffee
|
||||
shortNames:
|
||||
- cof
|
||||
|
||||
|
||||
@@ -25,4 +25,3 @@ spec:
|
||||
- name: docker-socket
|
||||
hostPath:
|
||||
path: /var/run/docker.sock
|
||||
|
||||
|
||||
@@ -18,4 +18,3 @@ spec:
|
||||
use-ssl: false
|
||||
data-volume-size: 10Gi
|
||||
java-options: "-Xms512m -Xmx512m"
|
||||
|
||||
|
||||
@@ -27,4 +27,3 @@ source:
|
||||
#host: node1
|
||||
#reportingComponent: ""
|
||||
#reportingInstance: ""
|
||||
|
||||
|
||||
@@ -33,4 +33,3 @@ source:
|
||||
component: gitops-sync
|
||||
#reportingComponent: ""
|
||||
#reportingInstance: ""
|
||||
|
||||
|
||||
@@ -31,4 +31,3 @@ spec:
|
||||
containers:
|
||||
- name: web
|
||||
image: nginx
|
||||
|
||||
|
||||
@@ -13,4 +13,3 @@ spec:
|
||||
volumeMounts:
|
||||
- name: config
|
||||
mountPath: /usr/local/etc/haproxy/
|
||||
|
||||
|
||||
@@ -26,4 +26,3 @@ spec:
|
||||
target:
|
||||
type: Value
|
||||
value: 0.1
|
||||
|
||||
|
||||
@@ -7,4 +7,3 @@ spec:
|
||||
containers:
|
||||
- name: hello
|
||||
image: nginx
|
||||
|
||||
|
||||
@@ -26,4 +26,3 @@ spec:
|
||||
mountPath: /workspace
|
||||
volumes:
|
||||
- name: workspace
|
||||
|
||||
|
||||
@@ -60,4 +60,3 @@ spec:
|
||||
ingress:
|
||||
- from:
|
||||
- podSelector: {}
|
||||
|
||||
|
||||
@@ -28,4 +28,3 @@ spec:
|
||||
- key: "{{ request.object.metadata.labels.color }}"
|
||||
operator: NotEquals
|
||||
value: "{{ request.oldObject.metadata.labels.color }}"
|
||||
|
||||
|
||||
@@ -25,4 +25,3 @@ spec:
|
||||
message: "Once label color has been added, it cannot be removed."
|
||||
deny:
|
||||
conditions:
|
||||
|
||||
|
||||
@@ -43,4 +43,3 @@ spec:
|
||||
- kind: ServiceAccount
|
||||
name: default
|
||||
namespace: "{{request.object.metadata.namespace}}"
|
||||
|
||||
|
||||
@@ -155,6 +155,3 @@ data:
|
||||
containers:
|
||||
- name: helper-pod
|
||||
image: busybox
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -11,4 +11,3 @@ spec:
|
||||
- podSelector:
|
||||
matchLabels:
|
||||
run: testcurl
|
||||
|
||||
|
||||
@@ -7,4 +7,3 @@ spec:
|
||||
matchLabels:
|
||||
app: testweb
|
||||
ingress: []
|
||||
|
||||
|
||||
@@ -18,4 +18,3 @@ spec:
|
||||
app: webui
|
||||
ingress:
|
||||
- from: []
|
||||
|
||||
|
||||
@@ -18,4 +18,3 @@ spec:
|
||||
- name: www
|
||||
mountPath: /www/
|
||||
restartPolicy: OnFailure
|
||||
|
||||
|
||||
@@ -21,4 +21,3 @@ spec:
|
||||
volumeMounts:
|
||||
- mountPath: /mnt/storage
|
||||
name: storage
|
||||
|
||||
|
||||
@@ -37,4 +37,3 @@ spec:
|
||||
resources:
|
||||
requests:
|
||||
storage: 1Gi
|
||||
|
||||
|
||||
@@ -36,4 +36,3 @@ rules:
|
||||
resources: ['podsecuritypolicies']
|
||||
verbs: ['use']
|
||||
resourceNames: ['privileged']
|
||||
|
||||
|
||||
@@ -35,4 +35,3 @@ rules:
|
||||
resources: ['podsecuritypolicies']
|
||||
verbs: ['use']
|
||||
resourceNames: ['restricted']
|
||||
|
||||
|
||||
@@ -12,4 +12,3 @@ spec:
|
||||
configMapKeyRef:
|
||||
name: registry
|
||||
key: http.addr
|
||||
|
||||
|
||||
@@ -8,4 +8,3 @@ provisioner: kubernetes.io/portworx-volume
|
||||
parameters:
|
||||
repl: "2"
|
||||
priority_io: "high"
|
||||
|
||||
|
||||
@@ -30,4 +30,3 @@ subjects:
|
||||
- kind: ServiceAccount
|
||||
name: jean.doe
|
||||
namespace: users
|
||||
|
||||
|
||||
@@ -61,4 +61,3 @@ spec:
|
||||
operator: In
|
||||
values:
|
||||
- node4
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -39,4 +39,3 @@
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
||||
|
||||
@@ -2,4 +2,3 @@ resource "openstack_compute_keypair_v2" "ssh_deploy_key" {
|
||||
name = var.prefix
|
||||
public_key = file("~/.ssh/id_rsa.pub")
|
||||
}
|
||||
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -18,4 +18,3 @@ socket.on('slide change', function (n) {
|
||||
slideshow.gotoSlide(n);
|
||||
leader = true;
|
||||
});
|
||||
|
||||
|
||||
@@ -4,4 +4,3 @@
|
||||
tmux set-option -g status-left ""
|
||||
tmux set-option -g status-right ""
|
||||
tmux set-option -g status-style bg=cyan
|
||||
|
||||
|
||||
@@ -13,4 +13,3 @@ services:
|
||||
- ..:/repo
|
||||
working_dir: /repo/slides
|
||||
command: ./build.sh forever
|
||||
|
||||
|
||||
@@ -220,4 +220,3 @@ We've learned how to:
|
||||
|
||||
* Create links between containers.
|
||||
* Use names and links to communicate across containers.
|
||||
|
||||
|
||||
@@ -170,4 +170,3 @@ Would we give the same answers to the questions on the previous slide?
|
||||
class: pic
|
||||
|
||||

|
||||
|
||||
|
||||
@@ -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))
|
||||
|
||||
|
||||
@@ -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 |
@@ -983,4 +983,3 @@
|
||||
|
||||
- title: Deploying and Scaling Microservices with Docker and Kubernetes
|
||||
slides: kube-selfpaced.yml.html
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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*
|
||||
|
||||
|
||||
@@ -87,4 +87,3 @@ content:
|
||||
- k8s/apiserver-deepdive.md
|
||||
#- k8s/record.md
|
||||
- shared/thankyou.md
|
||||
|
||||
|
||||
@@ -13,4 +13,3 @@
|
||||
- Feel free to interrupt for questions at any time
|
||||
|
||||
- *Especially when you see full screen container pictures!*
|
||||
|
||||
|
||||
@@ -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 |
|
||||
|
||||
|
||||
@@ -65,4 +65,3 @@
|
||||
class: pic
|
||||
|
||||

|
||||
|
||||
|
||||
@@ -9,4 +9,3 @@
|
||||
- Reminder, the room is @@CHAT@@
|
||||
|
||||
- Say hi in the chat room!
|
||||
|
||||
|
||||
@@ -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!
|
||||
|
||||
|
||||
@@ -1,4 +1,2 @@
|
||||
|
||||
@@TOC@@
|
||||
|
||||
|
||||
|
||||
@@ -385,4 +385,3 @@ And DockerCon Black Belt talks:
|
||||
|
||||
.blackbelt[DC17EU: Container Orchestration from Theory to Practice
|
||||
([video](https://dockercon.docker.com/watch/5fhwnQxW8on1TKxPwwXZ5r))]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user