Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deprecate --use-openapi-print-columns in favor of --server-print #65601

merged 2 commits into from Jun 29, 2018


Copy link

liggitt commented Jun 28, 2018

server-side printing has been supported since 1.10 with identical output for core kubernetes types, support is available for extension API servers since 1.10, and for CRDs since 1.11.

openapi printing is mutually exclusive with server-side printing (you have to fetch full objects to do openapi printing, and table row output to do server side printing)

openapi printing has many downsides:

  • it requires fetching/parsing a very large schema on every get request
  • it requires complex object extraction logic be built into every client
  • it is limited to literal values that appear in the objects

see discussion of long-term direction between these two approaches in #53483

/sig cli

/assign @pwittrock @soltysh

kubectl: --use-openapi-print-columns is deprecated in favor of --server-print

liggitt added some commits Jun 28, 2018


This comment has been minimized.

Copy link

k8s-github-robot commented Jun 28, 2018

[MILESTONENOTIFIER] Milestone Pull Request Labels Incomplete

@liggitt @pwittrock @soltysh

Action required: This pull request requires label changes. If the required changes are not made within 3 days, the pull request will be moved out of the v1.12 milestone.

kind: Must specify exactly one of kind/bug, kind/cleanup or kind/feature.
priority: Must specify exactly one of priority/critical-urgent, priority/important-longterm or priority/important-soon.


This comment has been minimized.

Copy link

smarterclayton commented Jun 29, 2018

SGTM, server side is a superset of openapi for all the use cases I'm aware of.

@k8s-ci-robot k8s-ci-robot added the lgtm label Jun 29, 2018

Copy link

soltysh left a comment



This comment has been minimized.

Copy link

k8s-ci-robot commented Jun 29, 2018


This pull-request has been approved by: liggitt, soltysh

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


This comment has been minimized.

Copy link

k8s-github-robot commented Jun 29, 2018

Automatic merge from submit-queue (batch tested with PRs 65319, 64513, 65474, 65601, 65634). If you want to cherry-pick this change to another branch, please follow the instructions here.

@k8s-github-robot k8s-github-robot merged commit 21b960a into kubernetes:master Jun 29, 2018

17 checks passed

Submit Queue Queued to run github e2e tests a second time.
cla/linuxfoundation liggitt authorized
pull-kubernetes-bazel-build Job succeeded.
pull-kubernetes-bazel-test Job succeeded.
pull-kubernetes-cross Skipped
pull-kubernetes-e2e-gce Job succeeded.
pull-kubernetes-e2e-gce-100-performance Job succeeded.
pull-kubernetes-e2e-gce-device-plugin-gpu Job succeeded.
pull-kubernetes-e2e-gke Skipped
pull-kubernetes-e2e-kops-aws Job succeeded.
pull-kubernetes-integration Job succeeded.
pull-kubernetes-kubemark-e2e-gce-big Job succeeded.
pull-kubernetes-local-e2e Skipped
pull-kubernetes-local-e2e-containerized Skipped
pull-kubernetes-node-e2e Job succeeded.
pull-kubernetes-typecheck Job succeeded.
pull-kubernetes-verify Job succeeded.

@liggitt liggitt deleted the liggitt:deprecate-openapi-column-printing branch Jul 4, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.