Skip to content
This repository was archived by the owner on Sep 9, 2020. It is now read-only.
This repository was archived by the owner on Sep 9, 2020. It is now read-only.

ksonnet's kubernetes version resolver needs to be expanded to work with multiple distributions of Kubernetes #427

@fxue

Description

@fxue

Is this a BUG REPORT or FEATURE REQUEST?:

Uncomment only one, leave it on its own line:

/kind bug

/kind feature

What happened:
Found this while resolving Kubeflow issue.
copying it here.

What you expected to happen:
correct k8s picked up

How to reproduce it (as minimally and precisely as possible):

➜  ks version
ksonnet version: 0.9.2
jsonnet version: v0.9.5
client-go version: 1.8

getting a different 404 error now.

➜  ks show ${KF_ENV} -c kubeflow-core
ERROR Recieved status code '404' when trying to retrieve OpenAPI schema for cluster version 'v3.9.14' from URL 'https://raw.githubusercontent.com/kubernetes/kubernetes/v3.9.14/api/openapi-spec/swagger.json'

seems like the problem is with using the openshift version instead of k8s version

➜ oc version
oc v3.9.7
kubernetes v1.9.1+a0ce1bc657
features: Basic-Auth

Server https://api.starter-us-west-1.openshift.com:443
openshift v3.9.14
kubernetes v1.9.1+a0ce1bc657

Anything else we need to know?:

Environment:

  • ksonnet version (use ks version):0.9.2
  • Kubernetes version (use kubectl version):v1.9.1

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions