forked from kubernetes-client/java
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest.yaml
More file actions
49 lines (49 loc) · 804 Bytes
/
test.yaml
File metadata and controls
49 lines (49 loc) · 804 Bytes
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
apiVersion: v1
kind: Service
metadata:
labels:
app: mock
name: mock
spec:
ports:
- port: 99
protocol: TCP
targetPort: 9949
selector:
app: mock
---
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: helloworld
name: helloworld
spec:
replicas: 1
template:
metadata:
labels:
app: helloworld
name: helloworld
spec:
containers:
- args:
- -http=127.0.0.1:8080
image: gcr.io/hightowerlabs/helloworld:0.0.1
imagePullPolicy: Always
name: helloworld
resources:
limits:
memory: 1Gi
cpu: 0.5
requests:
memory: 4Gi
cpu: 2
---
apiVersion: v1
kind: Secret
metadata:
name: secret
type: Opaque
data:
secret-data: aGVsbG8=