mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-17 23:19:26 +00:00
Pretty up the demo a little.
Use images and some better formatting. Also add scripts to help prevent typos. This based on an improved version done by Julia Ferraioli. She came up with the cool images.
This commit is contained in:
@@ -78,7 +78,10 @@ func LoadAuthInfo(path string, r io.Reader) (*client.AuthInfo, error) {
|
||||
// 'name' points to a replication controller.
|
||||
// 'client' is used for updating pods.
|
||||
// 'updatePeriod' is the time between pod updates.
|
||||
// 'imageName' is the new image to update to the template
|
||||
// 'imageName' is the new image to update for the template. This will work
|
||||
// with the first container in the pod. There is no support yet for
|
||||
// updating more complex replication controllers. If this is blank then no
|
||||
// update of the image is performed.
|
||||
func Update(name string, client client.Interface, updatePeriod time.Duration, imageName string) error {
|
||||
controller, err := client.GetReplicationController(name)
|
||||
if err != nil {
|
||||
|
Reference in New Issue
Block a user