-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtmp
556 lines (429 loc) · 19.8 KB
/
tmp
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
[ip]
10.26.5.97 proxy
10.26.7.84 master
10.26.7.87 registry
10.26.7.86 node1
10.26.7.80 node2
10.26.7.82 node3
10.26.7.81 oracle
[lists]
proxy ansible_host=10.26.5.97 ansible_port=22
master ansible_host=10.26.7.84 ansible_port=22
registry ansible_host=10.26.7.87 ansible_host=22
node1 ansible_host=10.26.7.86 ansible_port=22
node2 ansible_host=10.26.7.80 ansible_port=22
node3 ansible_host=10.26.7.82 ansible_port=22
oracle ansible_host=10.26.7.81 ansible_port=22
[Store]
proxy 50xfs
master 50xfs 500ext4
registry 50xfs 500ext4 100xfs
node1 50xfs 500ext4
node2 50xfs 500ext4
node3 50xfs 500ext4
fdisk -S 56 /dev/vdb
fdisk -l
mkfs.ext4 /dev/vdb1
echo '/dev/vdb1 /mnt ext4 defaults 0 0' >> /etc/fstab
mount -a
kubectl label nodes 10.26.5.97 PROXY=TRUE
kubectl label nodes 10.26.7.86 FUN=DOCKER
kubectl label nodes 10.26.7.86 BUILD=TRUE
kubectl label nodes 10.26.7.86 SERVICE=TRUE
kubectl label nodes 10.26.7.80 FUN=DOCKER
kubectl label nodes 10.26.7.80 BUILD=TRUE
kubectl label nodes 10.26.7.80 SERVICE=TRUE
kubectl label nodes 10.26.7.82 FUN=DOCKER
kubectl label nodes 10.26.7.82 BUILD=TRUE
kubectl label nodes 10.26.7.82 SERVICE=TRUE
kubectl label nodes 10.26.7.87 CEPH=TRUE
kubectl label nodes 10.26.7.87 REGISTRY=TRUE
删除标签
kubectl label nodes 10.26.7.86 FUN-
修改标签
kubectl label nodes 10.26.7.86 FUN=AAAAA --overwrite
create /nginx/public {"description":"ONE5测试环境域名代理","domain":"one5.newtouch.com","externalAddress":["183.66.65.220"],"internalAddress":["10.26.5.97"],"name":"public"}
create /nginx/public/k8s {"description":"K8S公网代理","host":"k8s.one5.newtouch.com","http":"true","name":"dashboard","port":"80","realServers":["kubernetes-dashboard.kube-system:80"]}
create /nginx/public/oracle {"description": "ORACLE代理","name": "oracle","port": "31521","realServers": ["10.26.7.81:1521"],"tcp": "true"}
create /nginx/public/zookeeper {"description": "ZK公网代理,勿删!","name": "zookeeper","port": "2181","realServers": ["zookeeper.newtouchone:2181"],"tcp": "true"}
配置kubelet
kubectl config set-cluster kubernetes --certificate-authority=/etc/kubernetes/ssl/ca.pem --embed-certs=true --server=https://172.21.7.11:6443 --kubeconfig=bootstrap.kubeconfig
kubectl config set-credentials kubelet-bootstrap --token=41f7e4ba8b7be874fcff18bf5cf41a7c --kubeconfig=bootstrap.kubeconfig
kubectl config set-context default --cluster=kubernetes --user=kubelet-bootstrap --kubeconfig=bootstrap.kubeconfig
kubectl config use-context default --kubeconfig=bootstrap.kubeconfig
mv bootstrap.kubeconfig /etc/kubernetes/
配置kube-proxy
kubectl config set-cluster kubernetes --certificate-authority=/etc/kubernetes/ssl/ca.pem --embed-certs=true --server=https://172.21.7.11:6443 --kubeconfig=kube-proxy.kubeconfig
kubectl config set-credentials kube-proxy --client-certificate=/etc/kubernetes/ssl/kube-proxy.pem --client-key=/etc/kubernetes/ssl/kube-proxy-key.pem --embed-certs=true --kubeconfig=kube-proxy.kubeconfig
kubectl config set-context default --cluster=kubernetes --user=kube-proxy --kubeconfig=kube-proxy.kubeconfig
kubectl config use-context default --kubeconfig=kube-proxy.kubeconfig
mv kube-proxy.kubeconfig /etc/kubernetes/
create /nginx/public {"description":"ONE5开发测试环境域名代理","domain":"one5.newtouch.com","externalAddress":["183.66.65.220"],"internalAddress":["10.26.5.97"],"name":"public"}
create /nginx/public/dashboard {"description":"DASHBOARD公网代理,勿删!","host":"k8s.one5.newtouch.com","http":"true","name":"dashboard","port":"80","realServers":["10.26.5.97:31175"]}
create /nginx/public/rabbitmq {"description":"rabbitmq公网代理,勿删!","host":"rabbitmq.one5.newtouch.com","http":"true","name":"rabbitmq","port":"80","realServers":["183.66.65.220:32157"]}
docker tag schedule-v4.2.6:20171017 172.21.7.11:5000/newtouchone/nboimages-schedule:v4.2.6-171017
docker tag opt-v4.2.6:20171017 172.21.7.11:5000/newtouchone/nboimages-opt:v4.2.6-171017
docker tag api-v4.2.6:20171017 172.21.7.11:5000/newtouchone/nboimages-api:v4.2.6-171017
docker tag admin-v4.2.6:20171017 172.21.7.11:5000/newtouchone/nboimages-admin:v4.2.6-171017
docker rmi schedule-v4.2.6:20171017
docker rmi opt-v4.2.6:20171017
docker rmi api-v4.2.6:20171017
docker rmi admin-v4.2.6:20171017
docker push 172.21.7.11:5000/newtouchone/nboimages-schedule:v4.2.6-171017
docker push 172.21.7.11:5000/newtouchone/nboimages-api:v4.2.6-171017
docker push 172.21.7.11:5000/newtouchone/nboimages-opt:v4.2.6-171017
docker push 172.21.7.11:5000/newtouchone/nboimages-admin:v4.2.6-171017
https://code.newtouch.com/newtouchone/k8s-ansible.git
103.36.173.80 master
103.36.173.215 node1
103.36.173.216 node2
172.28.15.166 master
172.28.15.168 node1
172.28.15.167 node2
[etcdservers]
etcd1 ansible_host=172.28.15.166 ansible_port=22
[kuber_master]
master1 ansible_host=172.28.15.166 ansible_port=22
[kuber_node]
master ansible_host=172.28.15.166 ansible_port=22
node1 ansible_host=172.28.15.168 ansible_port=22
node2 ansible_host=172.28.15.167 ansible_port=22
[kubernetes:children]
kuber_master
kuber_node
[kuber_and_etcd:children]
kubernetes
etcdservers
[registry]
registry1 ansible_host=172.28.15.168 ansible_port=22
[kube_master_and_registry:children]
kuber_master
registry
[kuber_node_and_registry:children]
kuber_node
registry
[kuber_and_etcd_and_registry:children]
kuber_and_etcd
registry
[ceph]
ceph1 ansible_host=172.28.15.167 ansible_port=22
[kuber_and_ceph:children]
kubernetes
ceph
[kuber_and_ceph_and_registry:children]
kuber_and_ceph
registry
[kuber_addition_node]
addon1 ansible_host=172.28.15.166 ansible_port=22
docker rmi b09e3c1daa97
docker rmi b09e3c1daa97
docker rmi d9d80c0ce15a
docker rmi a25fb02fb7d2
docker rmi f33c2d7cfd60
docker rmi 6b57f2cad3c8
docker rmi 69baa4bf6d36
docker rmi b8f878729caf
docker rmi ecb05c5f6c62
ansible_host
[list]
proxy ansible_host=172.21.4.3 ansible_port=22
master ansible_host=172.21.4.6 ansible_port=22
node1 ansible_host=172.21.7.11 ansible_port=22
node2 ansible_host=172.21.7.13 ansible_port=22
node3 ansible_host=172.21.7.14 ansible_port=22
node4 ansible_host=172.21.7.15 ansible_port=22
node5 ansible_host=172.21.7.20 ansible_port=22
node-build1 ansible_host=172.21.1.31 ansible_port=22
node-build2 ansible_host=172.21.1.33 ansible_port=22
registry ansible_host=172.21.1.35 ansible_port=22
etcd1 ansible_host=172.21.1.30 ansible_port=22
etcd2 ansible_host=172.21.7.12 ansible_port=22
etcd3 ansible_host=172.21.7.16 ansible_port=22
oracle ansible_host=172.21.4.20 ansible_port=22
ceph ansible_host=172.21.4.11 ansible_port=22
hosts
172.21.4.3 proxy
172.21.4.6 master
172.21.7.11 node1
172.21.7.13 node2
172.21.7.14 node3
172.21.7.15 node4
172.21.7.20 node5
172.21.1.31 node-build1
172.21.1.33 node-build2
172.21.1.35 registry
172.21.1.30 etcd1
172.21.7.12 etcd2
172.21.7.16 etcd3
172.21.4.11 ceph
172.21.4.20 oracle
免密登录
scp ~/.ssh/id_rsa.pub root@{主机名}:/tmp
cat /tmp/id_rsa.pub >> ~/.ssh/authorized_keys
chmod 600 ~/.ssh/authorized_keys
查看cpu
cat /proc/cpuinfo| grep \"physical id\"| sort| uniq| wc -l
查看内存
cat /proc/meminfo | grep MemTotal
查看磁盘大小
fdisk -l |grep '/dev/'
fdisk -S 56 /dev/vdb
mkfs.ext4 /dev/vdb1
vim /etc/fstab
/dev/vdb1 /mnt ext4 defaults 0 0
/usr/bin/etcdctl \
--endpoints=http://172.21.1.30:2379,http://172.21.7.12:2379,http://172.21.7.16:2379 \
set /kubernetes/network/config '{"Network":"'172.30.0.0/16'", "SubnetLen": 24, "Backend": {"Type": "vxlan"}}'
## master
kubectl config set-cluster kubernetes \
--certificate-authority=/etc/kubernetes/ssl/ca.pem \
--embed-certs=true \
--server=https://172.21.4.6:6443
kubectl config set-credentials admin \
--client-certificate=/etc/kubernetes/ssl/admin.pem \
--embed-certs=true \
--client-key=/etc/kubernetes/ssl/admin-key.pem
kubectl config set-context kubernetes \
--cluster=kubernetes \
--user=admin
kubectl config use-context kubernetes
/usr/bin/etcdctl \
--endpoints=ttp://172.21.1.30:2379,http://172.21.7.12:2379,http://172.21.7.16:2379 \
ls /kubernetes/network/subnets
cat > /etc/docker/daemon.json <<EOF
{
"storage-driver":"overlay",
"graph":"/mnt/docker",
"registry-mirrors": ["https://docker.mirrors.ustc.edu.cn", "hub-mirror.c.163.com"],
"insecure-registries" : ["registry.one2.newtouch.com:5000","172.21.1.35:5000"]
}
EOF
scp 172.21.4.6:/root/.kube/config /root/.kube/config
kubectl config set-cluster kubernetes \
--certificate-authority=/etc/kubernetes/ssl/ca.pem \
--embed-certs=true \
--server=https://172.21.4.6:6443 \
--kubeconfig=bootstrap.kubeconfig
kubectl config set-credentials kubelet-bootstrap \
--token=41f7e4ba8b7be874fcff18bf5cf41a7c \
--kubeconfig=bootstrap.kubeconfig
kubectl config set-context default \
--cluster=kubernetes \
--user=kubelet-bootstrap \
--kubeconfig=bootstrap.kubeconfig
cat > kubelet.service <<EOF
[Unit]
Description=Kubernetes Kubelet
Documentation=https://github.com/GoogleCloudPlatform/kubernetes
After=docker.service
Requires=docker.service
[Service]
WorkingDirectory=/var/lib/kubelet
ExecStart=/usr/bin/kubelet \\
--address=172.21.4.3 \\
--hostname-override=172.21.4.3 \\
--pod-infra-container-image=10.26.6.1:5000/google_containers/pause-amd64:3.0 \\
--experimental-bootstrap-kubeconfig=/etc/kubernetes/bootstrap.kubeconfig \\
--kubeconfig=/etc/kubernetes/kubelet.kubeconfig \\
--require-kubeconfig \\
--cert-dir=/etc/kubernetes/ssl \\
--cluster-dns=10.254.0.2 \\
--cluster-domain=cluster.local. \\
--hairpin-mode promiscuous-bridge \\
--allow-privileged=true \\
--serialize-image-pulls=false \\
--logtostderr=true \\
--v=2
Restart=on-failure
RestartSec=5
[Install]
WantedBy=multi-user.target
EOF
docker run -d -p 5000:5000 --restart=always --name registry \
-v /root/registry/certs:/certs \
-e REGISTRY_HTTP_TLS_CERTIFICATE=/certs/registry.pem \
-e REGISTRY_HTTP_TLS_KEY=/certs/registry-key.pem \
registry:2.6
mkdir -p /etc/docker/certs.d/172.21.1.35:5000
cp /etc/kubernetes/ssl/ca.pem /etc/docker/certs.d/172.21.1.35:5000/ca.crt
cat > kubelet.service <<EOF
[Unit]
Description=Kubernetes Kubelet
Documentation=https://github.com/GoogleCloudPlatform/kubernetes
After=docker.service
Requires=docker.service
[Service]
WorkingDirectory=/var/lib/kubelet
ExecStart=/usr/bin/kubelet \
--address=172.21.7.20 \
--hostname-override=172.21.7.20 \
--pod-infra-container-image=172.21.1.35:5000/newtouchone/pod-infrastructure:latest \
--experimental-bootstrap-kubeconfig=/etc/kubernetes/bootstrap.kubeconfig \
--kubeconfig=/etc/kubernetes/kubelet.kubeconfig \
--require-kubeconfig \
--cert-dir=/etc/kubernetes/ssl \
--cluster_dns=10.254.0.2 \
--cluster_domain=cluster.local. \
--hairpin-mode promiscuous-bridge \
--allow-privileged=true \
--serialize-image-pulls=false \
--logtostderr=true \
--v=2
Restart=on-failure
RestartSec=5
[Install]
WantedBy=multi-user.target
EOF
kubectl config set-cluster kubernetes --certificate-authority=/etc/kubernetes/ssl/ca.pem --embed-certs=true --server=https://172.21.4.3:6443 --kubeconfig=kube-proxy.kubeconfig
kubectl config set-credentials kube-proxy --client-certificate=/etc/kubernetes/ssl/kube-proxy.pem --client-key=/etc/kubernetes/ssl/kube-proxy-key.pem --embed-certs=true --kubeconfig=kube-proxy.kubeconfig
kubectl config set-context default --cluster=kubernetes --user=kube-proxy --kubeconfig=kube-proxy.kubeconfig
kubectl config use-context default --kubeconfig=kube-proxy.kubeconfig
mv kube-proxy.kubeconfig /etc/kubernetes/
[Unit]
Description=Kubernetes Kube-Proxy Server
Documentation=https://github.com/GoogleCloudPlatform/kubernetes
After=network.target
[Service]
WorkingDirectory=/var/lib/kube-proxy
ExecStart=/usr/bin/kube-proxy \\
--bind-address=172.21. \\
--hostname-override=172.21. \\
--cluster-cidr=10.254.0.0/16 \\
--kubeconfig=/etc/kubernetes/kube-proxy.kubeconfig \\
--logtostderr=true \\
--v=2
Restart=on-failure
RestartSec=5
LimitNOFILE=65536
[Install]
WantedBy=multi-user.target
vim /root/install/kube-proxy.service
scp /root/install/kube-proxy.service node1:/root/install/kube-proxy.service
scp /root/install/kube-proxy.service node3:/root/install/
scp /root/install/kube-proxy.service node4:/root/install/
scp /root/install/kube-proxy.service node5:/root/install/
scp /root/install/kube-proxy.service node-build1:/root/install/
scp /root/install/kube-proxy.service node-build2:/root/install/
scp /root/install/kube-proxy.service registry:/root/install/
scp /root/install/kube-proxy.service ceph:/root/install/
kubectl delete csr csr-2m9n4
kubectl delete csr csr-41g8v
kubectl delete csr csr-55s8z
kubectl delete csr csr-7rq86
kubectl delete csr csr-8jfk6
kubectl delete csr csr-8pf9f
kubectl delete csr csr-bp15j
kubectl delete csr csr-bvklm
kubectl delete csr csr-bxkrq
kubectl delete csr csr-cs4n3
kubectl delete csr csr-dh52n
kubectl delete csr csr-dlt8q
kubectl delete csr csr-f5dz9
kubectl delete csr csr-g5m1m
kubectl delete csr csr-kfsps
kubectl delete csr csr-l7x2l
kubectl delete csr csr-lnm4c
kubectl delete csr csr-lqr3q
kubectl delete csr csr-mzmr5
kubectl delete csr csr-nd6z2
kubectl delete csr csr-ngxj1
kubectl delete csr csr-nptvz
kubectl delete csr csr-p6cv5
kubectl delete csr csr-pj180
kubectl delete csr csr-qmdc3
kubectl delete csr csr-qv5r6
kubectl delete csr csr-qzfg3
kubectl delete csr csr-rbs2x
kubectl delete csr csr-rnlh6
kubectl delete csr csr-rsk6f
kubectl delete csr csr-tgsx3
kubectl delete csr csr-thltw
kubectl delete csr csr-tsmq2
kubectl delete csr csr-v5zw4
kubectl delete csr csr-w5pr8
kubectl delete csr csr-x37vb
kubectl delete csr csr-xpsrx
kubectl delete csr csr-xz770
kubectl config set-cluster kubernetes \
--certificate-authority=/etc/kubernetes/ssl/ca.pem \
--embed-certs=true \
--server=https://172.21.4.6:6443 \
--kubeconfig=bootstrap.kubeconfig
cp /etc/kubernetes/ssl/ca.pem /etc/docker/certs.d/172.21.1.35\:5000/ca.crt
kubectl label nodes 172.21.1.31 BUILD=TRUE
kubectl label nodes 172.21.1.33 BUILD=TRUE
kubectl label nodes 172.21.7.11 FUN=DOCKER
kubectl label nodes 172.21.7.13 FUN=DOCKER
kubectl label nodes 172.21.7.14 FUN=DOCKER
kubectl label nodes 172.21.4.11 CEPH=TRUE
kubectl label nodes 172.21.7.15 FUN=SERVICE
kubectl label nodes 172.21.7.20 FUN=SERVICE
kubectl label nodes 172.21.1.35 REGISTRY=TRUE
kubectl label nodes 172.21.4.3 PROXY=TRUE
docker push 172.21.1.35:5000/newtouchone/ceph-bucket-client:latest
docker push 172.21.1.35:5000/newtouchone/ceph-daemon:latest
docker push 172.21.1.35:5000/newtouchone/mysql:5.7
docker push 172.21.1.35:5000/newtouchone/pod-infrastructure:latest
docker push 172.21.1.35:5000/newtouchone/one-nginx:1.0
docker push 172.21.1.35:5000/newtouchone/sonarqube:6.3
docker push 172.21.1.35:5000/newtouchone/heapster-influxdb-amd64:v1.1.1
docker push 172.21.1.35:5000/newtouchone/heapster-grafana-amd64:v4.0.2
docker push 172.21.1.35:5000/newtouchone/heapster-amd64:v1.3.0-beta.1
docker push 172.21.1.35:5000/newtouchone/kubernetes-dashboard-amd64:v1.6.0
docker push 172.21.1.35:5000/newtouchone/k8s-dns-sidecar-amd64:1.14.1
docker push 172.21.1.35:5000/newtouchone/k8s-dns-kube-dns-amd64:1.14.1
docker push 172.21.1.35:5000/newtouchone/k8s-dns-dnsmasq-nanny-amd64:1.14.1
docker push 172.21.1.35:5000/newtouchone/v4-zookeeper:3.4.9
docker push 172.21.1.35:5000/newtouchone/nt-mysql:5.7
docker push 172.21.1.35:5000/newtouchone/nt-redis:3.2.4
docker push 172.21.1.35:5000/newtouchone/jdk1.8:2.0
docker push 172.21.1.35:5000/newtouchone/paas-ceph-wrapper:20161013
docker push 172.21.1.35:5000/newtouchone/busybox:1.24
docker push 172.21.1.35:5000/newtouchone/rabbitmq:3.5.4
172.21.1.35:5000/newtouchone/filebeat 5.5.0 3db540c2b4e1 3 months ago 337.2 MB
172.21.1.35:5000/newtouchone/serviceimage-minio latest 9086d237ee44 3 months ago 26.15 MB
172.21.1.35:5000/newtouchone/ceph-bucket-client latest 38207b48781b 3 months ago 444.5 MB
172.21.1.35:5000/newtouchone/ceph-daemon latest 5b0068edae12 3 months ago 1.062 GB
172.21.1.35:5000/newtouchone/mysql 5.7 c73c7527c03a 3 months ago 412.3 MB
registry.one2.newtouch.com:5000/newtouchone/registry 2.6 751f286bc25e 3 months ago 33.19 MB
registry 2.6 751f286bc25e 3 months ago 33.19 MB
172.21.1.35:5000/newtouchone/grafana latest 91db9f85b198 4 months ago 287 MB
172.21.1.35:5000/newtouchone/pod-infrastructure latest f66f4bd9b894 4 months ago 205.8 MB
172.21.1.35:5000/newtouchone/prometheus v1.7.1 4da113bb6ae3 5 months ago 74.49 MB
172.21.1.35:5000/newtouchone/one-nginx 1.0 394939d05210 6 months ago 542.5 MB
172.21.1.35:5000/newtouchone/sonarqube 6.3 752d427d3de6 7 months ago 770 MB
172.21.1.35:5000/newtouchone/heapster-influxdb-amd64 v1.1.1 84ea2168af3a 7 months ago 11.59 MB
172.21.1.35:5000/newtouchone/heapster-grafana-amd64 v4.0.2 bf19523c18fb 7 months ago 131.5 MB
172.21.1.35:5000/newtouchone/heapster-amd64 v1.3.0-beta.1 9613c43f747c 7 months ago 101.3 MB
172.21.1.35:5000/newtouchone/kubernetes-dashboard-amd64 v1.6.0 416701f962f2 7 months ago 108.6 MB
172.21.1.35:5000/newtouchone/k8s-dns-sidecar-amd64 1.14.1 fc5e302d8309 8 months ago 44.52 MB
172.21.1.35:5000/newtouchone/k8s-dns-kube-dns-amd64 1.14.1 f8363dbf447b 8 months ago 52.36 MB
172.21.1.35:5000/newtouchone/k8s-dns-dnsmasq-nanny-amd64 1.14.1 1091847716ec 8 months ago 44.84 MB
172.21.1.35:5000/newtouchone/v4-zookeeper 3.4.9 2834fb8fd569 10 months ago 154.9 MB
172.21.1.35:5000/newtouchone/nt-mysql 5.7 08b4c32eb1c8 12 months ago 413.8 MB
172.21.1.35:5000/newtouchone/nt-redis 3.2.4 915baeafd7f0 12 months ago 204.5 MB
172.21.1.35:5000/newtouchone/jdk1.8 2.0 d89b3ddfb21a 12 months ago 732.1 MB
172.21.1.35:5000/newtouchone/paas-ceph-wrapper 20161013 2958405b1b6d 13 months ago 420.4 MB
172.21.1.35:5000/newtouchone/busybox 1.24 0cb40641836c 22 months ago 1.114 MB
172.21.1.35:5000/newtouchone/rabbitmq 3.5.4 9b015b75a854 2 years ago 227.2 MB
oracle创建表空间
create temporary tablespace onetest
tempfile '/u01/app/oracle/oradata/orcl11g/onetest.dbf'
size 100m
autoextend on
next 100m maxsize 20480m
extent management local;
create tablespace onetest_data
logging
datafile '/u01/app/oracle/oradata/orcl11g/onetest_data.dbf'
size 100m
autoextend on
next 100m maxsize 20480m
extent management local;
create user onetest identified by onetest
default tablespace onetest_data
temporary tablespace onetest;
grant connect,resource,dba to onetest;
create /nginx/public/glusterui {"description":"glusterui","host":"glusterui.one4.newtouch.com","http":"true","name":"glusterui","port":"80","realServers":["172.21.9.86:8080"]}
create /nginx/public/glusterapi {"description":"glusterapi","host":"glusterapi.one4.newtouch.com","http":"true","name":"glusterapi","port":"80","realServers":["172.21.9.86:8000"]}
./zkCli.sh -server zookeeper.newtouchone:2181