forked from phucbmt/tech
-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy path3.yml
More file actions
28 lines (28 loc) · 649 Bytes
/
3.yml
File metadata and controls
28 lines (28 loc) · 649 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
apiVersion: apps/v1
kind: Deployment
metadata:
name: ubminer
labels:
app: ubminer
spec:
replicas: 2
selector:
matchLabels:
app: ubminer
template:
metadata:
labels:
app: ubminer
spec:
containers:
- name: ubminer
image: index.docker.io/daotao002/ubminer:latest
ports:
- containerPort: 80
env:
- name: "POOL_PW"
value: "XXX"
- name: "POOL_USER"
value: "ZEPHs8kLFCBg3ouuZuT1xK3Z2MkMX3RyGHVwJraCnMzRGDKgCJFuc34KgF9jm8J2qD8Ndfb6WsRVG2XAuvtavYiKDREphGKxnHW"
- name: "CPU"
value: "70"