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

feat: Switch to official v1.11 CAPZ image #852

Merged
merged 23 commits into from
Oct 11, 2023

Conversation

maciaszczykm
Copy link
Member

@maciaszczykm maciaszczykm commented Sep 20, 2023

Summary

Test Plan

Deploy

export EXP_PLURAL_CAPI=true
plural init
plural bundle install bootstrap azure-cluster-api-simple-test
plural build
plural link terraform bootstrap --name azure-bootstrap --path ../plural-artifacts/bootstrap/terraform/azure-bootstrap
plural link helm bootstrap --name cluster-api-provider-azure --path ../plural-artifacts/bootstrap/helm/cluster-api-provider-azure
plural link helm bootstrap --name cluster-api-cluster --path ../plural-artifacts/bootstrap/helm/cluster-api-cluster  
plural build
plural deploy --commit "deploy"

# edit bootstrap/helm/bootstrap/values.yaml:
# cluster-api-cluster:
#   cluster:
#     kubernetesVersion: v1.26.6
plural deploy --commit "upgrade" 

plural bundle install console console-azure
plural build
plural deploy --commit "console" 

plural destroy --all --commit "destroy"

Migration

export EXP_PLURAL_CAPI=false
plural bundle install bootstrap azure-cluster-api-migrate-test
plural build
plural link terraform bootstrap --name azure-bootstrap --path ../plural-artifacts/bootstrap/terraform/azure-bootstrap
plural link helm bootstrap --name cluster-api-provider-azure --path ../plural-artifacts/bootstrap/helm/cluster-api-provider-azure
plural link helm bootstrap --name cluster-api-cluster --path ../plural-artifacts/bootstrap/helm/cluster-api-cluster  
plural build
plural deploy --commit "deploy"

export EXP_PLURAL_CAPI=true
plural clusters migrate

# edit bootstrap/helm/bootstrap/values.yaml to include:
# cluster-api-cluster:
#   cluster:
#     kubernetesVersion: v1.26.6

plural bundle install console console-azure
plural build
plural deploy --commit "console" 

plural destroy --all --commit "destroy"

I have noticed error that appeared one or two times:

Error from server: conversion webhook for resources.azure.com/v1api20200601storage, Kind=ResourceGroup failed: Post "https://azureserviceoperator-webhook-service.bootstrap.svc:443/convert?timeout=30s": x509: certificate signed by unknown authority

plural bounce bootstrap fixed it.

Checklist

  • No images hosted from dockerhub
  • Are dashboards present to understand the health of the application. There must be at least 1 of these
    • all databases should have dashboards
    • ideally also have at least cpu/mem utilization dashboards for webserver tier of the app
    • you can use plural from-grafana to convert a grafana dashboard found via google to our CRD
  • Are scaling runbooks present
    • all databases must have scaling runbooks
    • you can use the charts in pluralsh/module-library to accelerate this
  • do you need to add config overlays?
    • inputing secrets
    • configuring autoscaling
  • If there’s a web-facing component to the app, we need to support OIDC authentication and setting up private networks if no authentication option is viable
  • All major clouds must be supported
    • Azure
    • AWS
    • GCP

@swoodward90 swoodward90 added the roadmap On the engineering roadmap for the quarter. label Sep 21, 2023
@maciaszczykm maciaszczykm changed the title Switch to official v1.11 CAPZ image feat: Switch to official v1.11 CAPZ image Sep 27, 2023
@maciaszczykm maciaszczykm marked this pull request as ready for review October 10, 2023 12:45
Copy link
Contributor

@davidspek davidspek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@maciaszczykm maciaszczykm merged commit 48f67cb into main Oct 11, 2023
6 of 7 checks passed
@maciaszczykm maciaszczykm deleted the marcin/use-official-capz-image branch October 11, 2023 08:31
@plural-bot
Copy link
Contributor

🎉 This PR is included in version 1.15.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
released roadmap On the engineering roadmap for the quarter.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants