-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathawesome-wasm.yaml
More file actions
53 lines (53 loc) · 1.23 KB
/
awesome-wasm.yaml
File metadata and controls
53 lines (53 loc) · 1.23 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
apiVersion: v1
kind: ConfigMap
metadata:
name: awesome-wasm-wascc
data:
myval: "cool stuff"
bacon_ipsum.txt: |
awesome project by bits N' bytes :)
---
apiVersion: v1
kind: Pod
metadata:
name: awesome-wasm-wascc
spec:
containers:
- name: awesome-wasm-wascc
image: gcr.io/tensile-ethos-299112/awesome-wasm-wascc:1.0
ports:
- containerPort: 8081
hostPort: 8081
env:
- name: FOO
value: bar
- name: POD_NAME
valueFrom:
fieldRef:
fieldPath: metadata.name
- name: CONFIG_MAP_VAL
valueFrom:
configMapKeyRef:
key: myval
name: awesome-wasm-wascc
volumeMounts:
- name: storage
mountPath: /mnt/storage
volumes:
- name: storage
configMap:
name: awesome-wasm-wascc
nodeSelector:
kubernetes.io/arch: "wasm32-wascc"
tolerations:
- key: "kubernetes.io/arch"
operator: "Equal"
value: "wasm32-wascc"
effect: "NoExecute"
- key: "node.kubernetes.io/network-unavailable"
operator: "Exists"
effect: "NoSchedule"
- key: "kubernetes.io/arch"
operator: "Equal"
value: "wasm32-wascc"
effect: "NoSchedule"