Skip to content
This repository has been archived by the owner on May 6, 2022. It is now read-only.

Change Deployment api to apps/v1 in cleaner #2753

Merged
merged 1 commit into from
Nov 26, 2019

Conversation

vivekzhere
Copy link
Contributor

@vivekzhere vivekzhere commented Nov 15, 2019

  • Deployment.extensions/v1beta1 depricated from k82 1.16
  • Remove activeDeadlineSeconds from migration jobs
  • The generic timeout from will be applied

Fixes: #2752

This PR is a

  • Feature Implementation
  • Bug Fix
  • Documentation

What this PR does / why we need it:

Which issue(s) this PR fixes

Fixes #2752

Please leave this checklist in the PR comment so that maintainers can ensure a good PR.

Merge Checklist:

  • New feature
    • Tests
    • Documentation
  • SVCat CLI flag
  • Server Flag for config
    • Chart changes
    • removing a flag by marking deprecated and hiding to avoid
      breaking the chart release and existing clients who provide a
      flag that will get an error when they try to update

@k8s-ci-robot k8s-ci-robot added do-not-merge/invalid-commit-message Indicates that a PR should not merge because it has an invalid commit message. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Nov 15, 2019
@k8s-ci-robot
Copy link
Contributor

Hi @vivekzhere. Thanks for your PR.

I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@k8s-ci-robot k8s-ci-robot added needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Nov 15, 2019
@mszostok
Copy link
Contributor

/ok-to-test

@k8s-ci-robot k8s-ci-robot added ok-to-test Indicates a non-member PR verified by an org member that is safe to test. and removed needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels Nov 15, 2019
@mszostok
Copy link
Contributor

Could you also change it in:
https://github.com/kubernetes-sigs/service-catalog/blob/0b5180b6c37de62bec5fe621da8f9aca47cea1bf/test/upgrade/examiner/internal/readiness/readiness.go#L86

it's just one line:) as a result we will get rid of the AppsV1beta1 from our code:)

@mszostok
Copy link
Contributor

You need to remove the closes: statement from you commit body as it is not allowed:)

kubernetes/test-infra#9360

@mszostok
Copy link
Contributor

mszostok commented Nov 15, 2019

could you also remove the activeDeadlineSeconds for each migration jobs?

Currently it's only 100sec and I can see that it's sometimes timeouted on our pipeline. The problem is that we cannot have the timeout there because it depends on the number of resources and it may differ between cluster, so we cannot set any reasonable default. The best option is to allow the generic timeout from helm to be applied
e.g. helm upgrade catalog svc-cat/catalog --timeout 3600

thanks in advance!

- Deployment.extensions/v1beta1 depricated from k82 1.16
- Remove activeDeadlineSeconds from migration jobs
- The generic timeout from will be applied

Issue: kubernetes-retired#2752
@k8s-ci-robot k8s-ci-robot removed the do-not-merge/invalid-commit-message Indicates that a PR should not merge because it has an invalid commit message. label Nov 18, 2019
@vivekzhere
Copy link
Contributor Author

Removed AppsV1beta1 from readiness test.
Removed activeDeadlineSeconds from migration jobs
Removed closes from commit message

@mszostok
Copy link
Contributor

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Nov 18, 2019
@jberkhahn
Copy link
Contributor

/approve

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: jberkhahn, vivekzhere

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

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Nov 25, 2019
@vivekzhere
Copy link
Contributor Author

/test pull-service-catalog-test-migration

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm Indicates that a PR is ready to be merged. ok-to-test Indicates a non-member PR verified by an org member that is safe to test. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Service catalog helm chart uninstall fails on kubernetes 1.16
4 participants