Closed amar-preet closed 4 years ago
Hi, It fails because of the wget in busybox. wget can't handle HTTPS requests for kubernetes.io properly.
$ kubectl run bbox --image=busybox --restart=Never -it -- /bin/sh
# wget http://kubernetes.io
Connecting to kubernetes.io (147.75.40.148:80)
Connecting to kubernetes.io (147.75.40.148:443)
wget: note: TLS certificate validation not implemented
wget: TLS error from peer (alert code 80): 80
wget: error getting response: Connection reset by peer
But it works for other websites like gnu.org
/ # wget -O index.html https://gnu.org
Connecting to gnu.org (209.51.188.148:443)
wget: note: TLS certificate validation not implemented
Connecting to www.gnu.org (209.51.188.148:443)
saving to 'index.html'
index.html 100% |**************************************************************************************************************| 31689 0:00:00 ETA
'index.html' saved
There is a PR at https://github.com/dgkanatsios/CKAD-exercises/pull/136/files about updating kubernetes.io
with a working site.
Merged so closing this, feel free to re-open if the issue persists.
In Multi-container Pods section the second question is throwing an error