Skip to content

istioctl register requires namespace (doesn't use the default) #4473

@ldemailly

Description

@ldemailly
$ istioctl register testsvc1 1.1.1.1 8080
2018-03-22T20:06:03.512325Z	info	Registering for service 'testsvc1' ip '1.1.1.1', ports list [{8080 http}]
2018-03-22T20:06:03.512382Z	info	0 labels ([]) and 1 annotations ([alpha.istio.io/kubernetes-serviceaccounts=default])
2018-03-22T20:06:03.514821Z	warn	Got 'an empty namespace may not be set when a resource name is provided' looking up svc 'testsvc1' in namespace '', attempting to create it
2018-03-22T20:06:03.515118Z	error	Unable to create service: an empty namespace may not be set during creation
Error: an empty namespace may not be set during creation

should use the default instead

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions