diff --git a/pkg/kubectl/kubectl.go b/pkg/kubectl/kubectl.go index 64fb136b41b..b2b5e74bbee 100644 --- a/pkg/kubectl/kubectl.go +++ b/pkg/kubectl/kubectl.go @@ -85,9 +85,11 @@ func (e ShortcutExpander) VersionAndKindForResource(resource string) (defaultVer // indeed a shortcut. Otherwise, will return resource unmodified. func expandResourceShortcut(resource string) string { shortForms := map[string]string{ - "po": "pods", - "rc": "replicationcontrollers", + "po": "pods", + "rc": "replicationcontrollers", + // DEPRECATED: will be removed before 1.0 "se": "services", + "svc": "services", "mi": "minions", "ev": "events", "limits": "limitRanges",