Ubuntu Pastebin

Paste from Zic at Wed, 19 Apr 2017 16:10:12 +0000

Download as text
 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
root@ig1-k8smaster-01:~# kubectl get pods -o wide --all-namespaces
NAMESPACE     NAME                                    READY     STATUS             RESTARTS   AGE       IP           NODE
default       default-http-backend-35bpm              1/1       Running            1          62d       10.1.80.5    ig1-k8s-01
default       nginx-ingress-controller-07vf5          1/1       Running            1          1d        10.3.13.86   ig1-k8s-05
default       nginx-ingress-controller-3kcwn          1/1       Running            1          1d        10.3.13.85   ig1-k8s-04
default       nginx-ingress-controller-fz2rl          1/1       Running            1          1d        10.3.13.84   ig1-k8s-03
default       nginx-ingress-controller-pkcvq          1/1       Running            1          62d       10.3.13.82   ig1-k8s-01
default       nginx-ingress-controller-wrhpt          1/1       Running            1          1d        10.3.13.83   ig1-k8s-02
kube-system   heapster-v1.3.0-1027286811-pkpcj        4/4       Running            0          41m       10.1.79.6    ig1-k8s-02
kube-system   kube-dns-806549836-5m4jf                2/3       Running            9          8m        10.1.102.5   ig1-k8s-03
kube-system   kubernetes-dashboard-2917854236-qmvn3   0/1       CrashLoopBackOff   11         41m       10.1.36.7    ig1-k8s-04
kube-system   monitoring-influxdb-grafana-v4-f7n6q    2/2       Running            0          41m       10.1.19.8    ig1-k8s-05
root@ig1-k8smaster-01:~# logout
Connection to ig1-k8smaster-01 closed.
zic@Sword:~$ ssh ig1-k8s-03
Welcome to Ubuntu 16.04.2 LTS (GNU/Linux 4.4.0-72-generic x86_64)

 * Documentation:  https://help.ubuntu.com
 * Management:     https://landscape.canonical.com
 * Support:        https://ubuntu.com/advantage

0 packages can be updated.
0 updates are security updates.


Last login: Wed Apr 19 15:57:14 2017 from 172.18.0.84
root@ig1-k8s-03:~# curl -v https://10.152.183.1:443/api/v1/endpoints?resourceVersion=0
*   Trying 10.152.183.1...
* Connected to 10.152.183.1 (10.152.183.1) port 443 (#0)
* found 174 certificates in /etc/ssl/certs/ca-certificates.crt
* found 696 certificates in /etc/ssl/certs
* ALPN, offering http/1.1
* SSL connection using TLS1.2 / ECDHE_RSA_AES_128_GCM_SHA256
* 	 server certificate verification OK
* 	 server certificate status verification SKIPPED
* 	 common name: kubernetes-master_0 (matched)
* 	 server certificate expiration date OK
* 	 server certificate activation date OK
* 	 certificate public key: RSA
* 	 certificate version: #3
* 	 subject: CN=kubernetes-master_0
* 	 start date: Thu, 16 Feb 2017 11:07:55 GMT
* 	 expire date: Sun, 14 Feb 2027 11:07:55 GMT
* 	 issuer: CN=ig1-k8srsa-01
* 	 compression: NULL
* ALPN, server accepted to use http/1.1
> GET /api/v1/endpoints?resourceVersion=0 HTTP/1.1
> Host: 10.152.183.1
> User-Agent: curl/7.47.0
> Accept: */*
> 
< HTTP/1.1 401 Unauthorized
< Content-Type: text/plain; charset=utf-8
< Www-Authenticate: Basic realm="kubernetes-master"
< X-Content-Type-Options: nosniff
< Date: Wed, 19 Apr 2017 16:09:55 GMT
< Content-Length: 13
< 
Unauthorized
* Connection #0 to host 10.152.183.1 left intact
Download as text