I’m trying to learn kubernetes, but I got an error mesage when I try to create pod. After I typed
“””
kubectl -f my-simple-pod.yaml
“””
error: error validating “my-simple-pod.yaml”: error validating data: failed to download openapi: Get “http://localhost:8080/openapi/v2?timeout=32s”: dial tcp 127.0.0.1:8080: connect: connection refused; if you choose to ignore these errors, turn validation off with –validate=false
I’m running in uuntu virtual environment, and the above error keeps happening. If you know how to fix this, please help