Skip to content
GitLab Next
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • A auto-deploy-app
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GitLab.orgGitLab.org
  • charts
  • auto-deploy-app
  • Issues
  • #47
Closed
Open
Created Feb 14, 2020 by Thong Kuah@tkuah5️⃣Owner

Change default for deploymentApiVersion to `apps/v1` (breaking change)

Proposal

In Auto DevOps, switch default of deploymentApiVersion: extensions/v1beta1 to new default deploymentApiVersion: apps/v1. Switch planned for GitLab %13.0

Impact

If user is using Kubernetes 1.9 and below, they will need to upgrade their Kubernetes cluster in order to get apps/v1. Note in https://docs.gitlab.com/ee/topics/autodevops/#requirements, we require Kubernetes 1.12+

If the user's cluster is Kubernetes 1.9 or below, this breaking change will cause them to an error message like:

unable to find resource of type 'deployment'

Impact on GitLab.com

As there should be minimal number of users using Kubernetes 1.9 or below, it should be OK to deploy to GitLab.com whenever this change is ready

Background

In gitlab-org/gitlab#32720 (closed), we added support for changing deploymentApiVersion. The ability to use deploymentApiVersion: apps/v1 has been available since Kubernetes 1.9. Kubernetes 1.16 no longer will be serving extensions/v1beta1 deployments.

/cc @danielgruesso @nicholasklick

Edited Apr 30, 2020 by Thong Kuah
Assignee
Assign to
Time tracking