Welcome to the Linux Foundation Forum!

Slide 5.9 - Swagger UI for k8s

Options
Minux
Minux Posts: 7
edited March 2017 in LFS258 Class Forum

Could you please explain how to use the swagger UI from k8s website ?

When I click on the link in the slide 5.9 I get this:





 

Comments

  • sebgoa
    sebgoa Posts: 23
    edited March 2017
    Options

    I am looking into it, it looks like the page has moved.

  • Minux
    Minux Posts: 7
    edited March 2017
    Options

    Ok thanks Sebastien !

  • borja
    borja Posts: 3
    Options

    The new API overview page is https://kubernetes.io/docs/api-reference/v1.8/

    If you are interested in seeing the swagger-ui page (minikube local environment) you can follow these instructions:

    # enable swagger ui

    minikube start --extra-config=apiserver.Features.EnableSwaggerUI=true

    # enable reverse proxy (it allow us to access kubernetes api without authentication)

    kubectl proxy --port=8080 & 

    open http://localhost:8080/swagger-ui/ or http://localhost:8080/swagger.json

     

     

  • sebgoa
    sebgoa Posts: 23
    Options

    thanks Borja, the swagger UI has been deprecated as the API moves to the OpenAPI spec.

    But thanks a lot for the detail info.

    It should not be present in the latest update.

     

Categories

Upcoming Training