Study. uk . com
  1. Home
  2. All questions
  3. Question 719

CKA study material · question 719 of 1000

Which of these is a valid name for a Service port?

  1. web_secure
  2. -https
  3. HTTPS
  4. web-secure
Show the answer

Answer: D. web-secure

Port names follow the ordinary name rules: lowercase alphanumerics and hyphens only, starting and ending with an alphanumeric character. Underscores, uppercase and a leading hyphen are all invalid.

Source: Service (Kubernetes) — Defining a Service › Multi-port Services

Challenge yourself on this topic → Study as cards