Welcome to the Linux Foundation Forum!

Lab 5.1 - step 9

Hello,

I do not understand why an XPOST call is created on this step.

I guess it updates the Pod (curlpod) with the created certifiates, client key and server.

But I do not understand the relation between the update of this pod with the certificates, adn the Lab name (configuring TLS access)

Does it configure the Pod so it can only be accessed via TLS traffic?

I would appreciate if someone could kindly elaborate on this.

Thank you,

Josep Maria

Best Answer

  • chrispokorni
    chrispokorni Posts: 2,376
    edited December 12 Answer ✓

    Hi @josepmaria,

    With a given manifest (in .yaml or .json) you have different options to load the manifest into the cluster and launch the object it defines.

    The curl ... -XPOST ... command would be the underlying command, quite complex as you can tell, generated when a kubectl create is issued. This exercise shows how the user can manually build this complex command if needed, and how to supply the TLS keys and certs for authentication.

    Regard,
    -Chris

Answers

Categories

Upcoming Training