Skip to content
This repository has been archived by the owner on Jul 25, 2022. It is now read-only.

Invalid pod name on gardenctl shell <node> #532

Open
aaronfern opened this issue Dec 6, 2021 · 0 comments
Open

Invalid pod name on gardenctl shell <node> #532

aaronfern opened this issue Dec 6, 2021 · 0 comments

Comments

@aaronfern
Copy link

Describe the bug
gardenctl throws the following error while using the gardenctl shell <node> command

$g shell ip-10-250-15-37.eu-west-1.compute.internal
Error: Pod "rootpod-I544000-10.250.15.37" is invalid: metadata.name: Invalid value: "rootpod-I544000-10.250.15.37": a lowercase RFC 1123 subdomain must consist of lower case alphanumeric characters, '-' or '.', and must start and end with an alphanumeric character (e.g. 'example.com', regex used for validation is '[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*')

To Reproduce
Steps to reproduce the behavior:

  1. Which target was set 'gardenctl get target'
    gardenctl target shoot druid-test
  2. Which command was entered [e.g. 'gardenctl show vpn-seed']
    gardenctl shell <node_name>
  3. What was the output of the command
Error: Pod "rootpod-I544000-10.250.15.37" is invalid: metadata.name: Invalid value: "rootpod-I544000-10.250.15.37": a lowercase RFC 1123 subdomain must consist of lower case alphanumeric characters, '-' or '.', and must start and end with an alphanumeric character (e.g. 'example.com', regex used for validation is '[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*')

Expected behavior
Command should succeed and rootpod should be created

Gardenctl Version (please complete the following information):

gardenctl:
   	version     : v0.24.1
   	build date  : 2020-12-09
   	go version  : go1.14.12
   	go compiler : gc
   	platform    : darwin/amd64
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant