-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problems using the deployment service #8812
Comments
Make sure to specify the proper namespace when calling |
Hi Sharif Thanks for the response. Here are the details [dockeruser@juggernaut ~]$ minikube start [dockeruser@juggernaut ~]$ kubectl run hello-minikube --image=k8s.gcr.io/echoserver:1.4 --port=8080 [dockeruser@juggernaut ~]$ kubectl get all NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE [dockeruser@juggernaut ~]$ kubectl expose deployment hello-minikube --type=NodePort [dockeruser@juggernaut ~]$ kubectl delete hello-minikube [dockeruser@juggernaut ~]$ kubectl get all NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE [dockeruser@juggernaut ~]$ kubectl delete pod/hello-minikube [dockeruser@juggernaut ~]$ kubectl version So as you can see I can't reference the container unless I specify the pod name with the namespace and I can't use this syntax with the deployment service although as above it will work when deleting the namespace. It could be that my syntax is wrong but I've seen many examples so I don't think this is the case. Many thanks for your help. Simon. |
Hi, Here is the minikube version and linux kernel revision too [dockeruser@juggernaut ~]$ uname -a Thanks, Simon. |
Are you sure you're creating a deployment when you're running For |
Hi @@PzaZZ-8899 have you tried the suggstion by sharif ? I haven't heard back from you, I wonder if you still have this issue? I will close this issue for now but please feel free to reopen whenever you feel ready to provide more information. |
Hi All,
This is my first post so go easy on me ;-)
I've installed kubectl and minikube onto my VM (Running VirtualBox). Software details are as follows :
Oracle Linux 8.2 (With the latest updates)
Docker 19.03.2 (Latest Release)
Minikube 1.18.3 (Latest release)
I can successfully install minikube and create the cluster. Services are started correctly and i can check the version and
get the status etc. However whenever i use the "deployment" service for the container all I get is deployment not found even though the container is correctly running. Any ideas ?
Output from the "kubctl get all" shows the container running ie pod/hello-minikube
If I try to delete the container again I get the error saying its not found again and neither can I delete it using 👍
kubectl delete hello-minikube
However ......
If i specify the pod as follows - i can succesfully delete the container 👍
kubectl delete pod/hello-minikube
The problem i have is that i can't use this syntax with the "deployment" service to get around the syntax obviously specifying the
resource type is incorrect. It seems that if I am able to specify the pod it works but if i dont i just get "not found"
Thanks for any help.
I hope this makes sense.
Simon.
The text was updated successfully, but these errors were encountered: