Skip to content
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

Minor doc Issue with k8s.io/docs/setup/learning-environment/minikube/ #16506

Closed
f-ruta opened this issue Sep 22, 2019 · 2 comments · Fixed by #16533
Closed

Minor doc Issue with k8s.io/docs/setup/learning-environment/minikube/ #16506

f-ruta opened this issue Sep 22, 2019 · 2 comments · Fixed by #16533
Assignees
Labels
priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release.

Comments

@f-ruta
Copy link

f-ruta commented Sep 22, 2019

This is a Bug Report

Problem:
Step2 reads :

Let’s create a Kubernetes Deployment using an existing image named echoserver, which is a 
simple HTTP server and expose it on port 8080 using --port.


kubectl run hello-minikube --image=k8s.gcr.io/echoserver:1.10 --port=8080

When executing the command listed above, the following error is returned:

kubectl run hello-minikube --image=k8s.gcr.io/echoserver:1.10 --port=8080
kubectl run --generator=deployment/apps.v1 is DEPRECATED and will be removed in a future 
version. Use kubectl run --generator=run-pod/v1 or kubectl create instead.   
deployment.apps/hello-minikube created

Proposed Solution:
Update the document to avoid using a deprecated option.

Page to Update:
https://kubernetes.io/docs/setup/learning-environment/minikube/

@aimeeu
Copy link
Contributor

aimeeu commented Sep 23, 2019

Hi @f-ruta - thanks for bringing this to our attention.

/priority important-soon

@k8s-ci-robot k8s-ci-robot added the priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release. label Sep 23, 2019
@mcbenjemaa
Copy link
Member

/assign

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants