mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-07 12:11:43 +00:00
Stop using dockerfile/* images
As per http://blog.docker.com/2015/03/updates-available-to-popular-repos-update-your-images/ docker has stopped answering dockerfile/redis and dockerfile/nginx. Fix all users in our tree. Sadly this means a lot of published examples are now broken.
This commit is contained in:
@@ -176,16 +176,16 @@ Creates a replication controller to manage the created container(s).
|
||||
|
||||
.nf
|
||||
// Starts a single instance of nginx.
|
||||
$ kubectl run\-container nginx \-\-image=dockerfile/nginx
|
||||
$ kubectl run\-container nginx \-\-image=nginx
|
||||
|
||||
// Starts a replicated instance of nginx.
|
||||
$ kubectl run\-container nginx \-\-image=dockerfile/nginx \-\-replicas=5
|
||||
$ kubectl run\-container nginx \-\-image=nginx \-\-replicas=5
|
||||
|
||||
// Dry run. Print the corresponding API objects without creating them.
|
||||
$ kubectl run\-container nginx \-\-image=dockerfile/nginx \-\-dry\-run
|
||||
$ kubectl run\-container nginx \-\-image=nginx \-\-dry\-run
|
||||
|
||||
// Start a single instance of nginx, but overload the desired state with a partial set of values parsed from JSON.
|
||||
$ kubectl run\-container nginx \-\-image=dockerfile/nginx \-\-overrides='\{ "apiVersion": "v1beta1", "desiredState": \{ ... \} \}'
|
||||
$ kubectl run\-container nginx \-\-image=nginx \-\-overrides='\{ "apiVersion": "v1beta1", "desiredState": \{ ... \} \}'
|
||||
|
||||
.fi
|
||||
.RE
|
||||
|
Reference in New Issue
Block a user