Skip to content

Is there a way to avoid using ancient versions of okhttp and okio when using kubernetes-client? #5362

Answered by rohanKanojia
xenomachina asked this question in Q&A
Discussion options

You must be logged in to vote

Are you asking how to switch underlying HTTP client ? It was done in 6.x (see docs). It can be done by excluding dependency like this:

        <dependency>
            <groupId>io.fabric8</groupId>
            <artifactId>kubernetes-client</artifactId>
            <exclusions>
              <exclusion>
                <groupId>io.fabric8</groupId>
                <artifactId>kubernetes-httpclient-okhttp</artifactId>
              </exclusion>
            </exclusions>
        </dependency>
        <dependency>
            <groupId>io.fabric8</groupId>
            <artifactId>kubernetes-httpclient-vertx</artifactId>
        </dependency>

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@xenomachina
Comment options

@manusa
Comment options

@rdesgroppes
Comment options

@rohanKanojia
Comment options

@manusa
Comment options

Answer selected by manusa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants