-
Notifications
You must be signed in to change notification settings - Fork 12
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 MinIO in dev #1796
Labels
area/engineering
Requires attention from engineering: focus on foundational components or platform DevOps
component/storage
Persistence related (e.g. Minio, cloud, or user storage)
Comments
chuckbelisle
added
component/storage
Persistence related (e.g. Minio, cloud, or user storage)
area/engineering
Requires attention from engineering: focus on foundational components or platform DevOps
labels
Jul 26, 2023
2 tasks
FYI the fdi-gateway-unclassified-system/protected-b-systems have been failing for a while as the storage accounts were already deleted by the FDI team (See jira issue CODAS-2172). Maybe it is a good idea to decom these systems first as they seem to be causing lots of failure for our pods trying to configure them. :) |
This was referenced Aug 8, 2023
Closing Remarks
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
area/engineering
Requires attention from engineering: focus on foundational components or platform DevOps
component/storage
Persistence related (e.g. Minio, cloud, or user storage)
Related to #1753
See relevant information by Collin Brown here #1001 (comment)
Component Cleanup
IMPORTANT
Deprecating old profiles controller
Roadmap to Deprecation
Remove minio-credential-injector argo-cd-manifest
Remove the boathouse MinIO ingresses
Delete deployment for goofys injector in argocd manfiests
Delete the entire terraform config file for boathouse (dev and prod)
Delete goofys-injector terraform https://gitlab.k8s.cloud.statcan.ca/cloudnative/aaw/daaas-infrastructure/aaw-dev-cc-00/-/blob/main/goofys_injector.tf
Delete everything in this range https://gitlab.k8s.cloud.statcan.ca/cloudnative/aaw/daaas-infrastructure/aaw-dev-cc-00/-/blob/main/istio_clusterrbacconfig.tf#L28-36 - do not delete fdi-gateway exclusion yet b/c OPA gateway is in this namespace and needs to communicate with other namespaces. -> This has been deleted in dev/prod by me a while ago. - souheil
Delete the read_instances and oidc_instance (https://gitlab.k8s.cloud.statcan.ca/cloudnative/aaw/daaas-infrastructure/aaw-dev-cc-00/-/blob/main/minio_gateway.tf#L26-54)
Delete these https://gitlab.k8s.cloud.statcan.ca/cloudnative/aaw/daaas-infrastructure/aaw-dev-cc-00/-/blob/main/minio_gateway.tf#L74-200
Delete helm chart for boathouse https://gitlab.k8s.cloud.statcan.ca/cloudnative/aaw/daaas-infrastructure/aaw-dev-cc-00/-/tree/main/charts/boathouse
Add rbac components in kubeflow-controller to the rbac.go file in the
kubeflow-profiles-controller
repo. -> this may not be needed, have to double check.Remove the kubeflow controller deployment from argocd manifests https://github.com/StatCan/aaw-argocd-manifests/tree/aaw-dev-cc-00/daaas-system/profile-controllers/kubeflow-controller
Flatten directory structure of profiles controller here https://github.com/StatCan/aaw-argocd-manifests/tree/aaw-dev-cc-00/daaas-system/profile-controllers (no need for two deployments anymore)
Delete minio.go from https://github.com/StatCan/aaw-kubeflow-profiles-controller/blob/main/cmd/minio.go
Delete all minio-related network policies https://github.com/StatCan/aaw-kubeflow-profiles-controller/blob/main/cmd/network.go
Delete deployment-buckets https://github.com/StatCan/charts/blob/master/stable/profiles-controller/templates/deployment-buckets.yaml from charts repo
Remove any network.go references to vault in aaw-kubeflow-profiles-controller
Upgrade chart https://github.com/StatCan/charts/blob/master/stable/profiles-controller/Chart.yaml (uptick chart version)
Update values.yaml file (delete any references to buckets or vault agent)
Delete vault minio config map https://github.com/StatCan/charts/blob/master/stable/profiles-controller/templates/configmap-vaultagent.yaml
https://github.com/StatCan/aaw-kubeflow-profiles-controller/blob/main/cmd/notebook.go#L109-L131 delete mounting minio to fs
https://github.com/StatCan/aaw-argocd-manifests/blob/aaw-dev-cc-00/daaas-system/profile-controllers/profiles-controller/application.jsonnet This no longer needs to be parameterized as jsonnet (no need for vault/minio) - can just make this a plain manifest.yaml file. Delete anything unused and update the helm chart
Delete entire folder storage-system https://github.com/StatCan/aaw-argocd-manifests/tree/aaw-dev-cc-00/storage-system -
Delete goofys injector network policies https://github.com/StatCan/aaw-network-policies/blob/aaw-dev-cc-00/goofys-injector-system.yaml (note: none of the network policies are deployed by themselves; need to edit the kustomize file in https://github.com/StatCan/aaw-network-policies/blob/aaw-dev-cc-00/environments/aaw-dev-cc-00/kustomization.yaml for dev and prod)
Delete https://github.com/StatCan/aaw-network-policies/blob/aaw-dev-cc-00/boathouse-system.yaml
Delete network policies for minio-credential-injector and goofys-injector https://github.com/StatCan/aaw-network-policies/blob/aaw-dev-cc-00/daaas-system.yaml#L139-L169
Delete https://github.com/StatCan/aaw-network-policies/blob/aaw-dev-cc-00/minio-legacy-system.yaml
Delete https://github.com/StatCan/aaw-network-policies/blob/aaw-dev-cc-00/minio-premium-legacy-system.yaml
Delete https://github.com/StatCan/aaw-network-policies/blob/aaw-dev-cc-00/vault-system.yaml#L18-L54
Delete https://github.com/StatCan/terraform-aaw-vault/blob/master/secret_minio_standard_tenant_1.tf
Delete https://github.com/StatCan/terraform-aaw-vault/blob/master/secret_minio_premium_tenant_1.tf
Delete https://github.com/StatCan/terraform-aaw-vault/blob/master/policy_profile_configurator.tf
Delete https://github.com/StatCan/terraform-aaw-vault/blob/master/policy_minio.tf
Delete https://github.com/StatCan/terraform-aaw-vault/blob/master/policy_goofys_injector.tf
Delete https://github.com/StatCan/terraform-aaw-vault/blob/master/policy_boathouse.tf
https://gitlab.k8s.cloud.statcan.ca/cloudnative/aaw/daaas-infrastructure/terraform-aaw-dev-cc-00-vault Delete policy_boathouse.tf and policy_profile_configurator.tf, do additional pass through and delete any old references
Delete https://gitlab.k8s.cloud.statcan.ca/cloudnative/aaw/daaas-infrastructure/aaw-dev-cc-00/-/tree/main/modules/minio-gateway minio gateway terraform module
Delete minio_gateway unclassified and protected-b in here https://gitlab.k8s.cloud.statcan.ca/cloudnative/aaw/daaas-infrastructure/aaw-dev-cc-00/-/blob/main/fdi_gateway.tf
Delete https://gitlab.k8s.cloud.statcan.ca/cloudnative/aaw/daaas-infrastructure/aaw-dev-cc-00/-/blob/main/goofys_injector.tf
Any variables https://gitlab.k8s.cloud.statcan.ca/cloudnative/aaw/daaas-infrastructure/aaw-dev-cc-00/-/blob/main/variables.tf that relate to minio
Unregister MinIO from OIDC app regsitry
Update DAaaS docs end user documentation for blob csi
The text was updated successfully, but these errors were encountered: