-
Notifications
You must be signed in to change notification settings - Fork 79
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
Add external cloud provider support for VPC #1015
Add external cloud provider support for VPC #1015
Conversation
✅ Deploy Preview for kubernetes-sigs-cluster-api-ibmcloud ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
5cdd423
to
5fe2e75
Compare
Tested the CCM integration as follows
|
5fe2e75
to
02e3f46
Compare
02e3f46
to
a3ba727
Compare
a3ba727
to
aae843f
Compare
aae843f
to
6510018
Compare
/lgtm |
- name: VPCCTL_CLOUD_CONFIG | ||
value: /etc/cloud/ibmpowervs.conf | ||
- name: VPCCTL_PUBLIC_ENDPOINT |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
don't we need these params anymore? if yes - why?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
VPCCTL_CLOUD_CONFIG has been removed as a part of refactoring IBM Cloud provider repo.
VPCCTL_PUBLIC_ENDPOINT
has been renamed as ENABLE_VPC_PUBLIC_ENDPOINT
main.go
Outdated
case options.ProviderIDFormatV2: | ||
setupLog.Info("Using v2 version of ProviderID format") | ||
default: | ||
errStr := fmt.Errorf("invalid value for flag provider-id-fmt: %s, Supported values: %s, %s ", options.PowerVSProviderIDFormat, options.ProviderIDFormatV1, options.ProviderIDFormatV2) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why options.PowerVSProviderIDFormat
here?
@@ -10,7 +10,7 @@ This document describes how to use [kind](https://kind.sigs.k8s.io) and [Tilt](h | |||
2. [kind](https://kind.sigs.k8s.io) v0.9 or newer (other clusters can be | |||
used if `preload_images_for_kind` is set to false) | |||
3. [kustomize](https://kubectl.docs.kubernetes.io/installation/kustomize/) | |||
4. [Tilt](https://docs.tilt.dev/install.html) v0.22.2 or newer | |||
4. [Tilt](https://docs.tilt.dev/install.html) v0.30.8 or newer |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
any reason for bumping the minimum tilt version required?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Its the requirement from cluster api: https://github.com/Karthik-K-N/cluster-api/blob/3aae0e86340a519feffc3e398c2fa81795fd73c9/Tiltfile#L19
``` | ||
> Note: To deploy workload cluster with [Power VS clusterclass-template](/topics/powervs/clusterclass-cluster.html). Set the `POWERVS_PROVIDER_ID_FORMAT` environmental variable. | ||
Currently, both [ClusterClass](https://cluster-api.sigs.k8s.io/tasks/experimental-features/cluster-class/index.html) and [ClusterResourceset](https://cluster-api.sigs.k8s.io/tasks/experimental-features/cluster-resource-set.html) are experimental feature so we need to enable the feature gate by setting `EXP_CLUSTER_RESOURCE_SET`, `CLUSTER_TOPOLOGY` environmental variables. | ||
> Note: To deploy VPC workload cluster with [IBM cloud controller manager](/topics/vpc/load-balancer.html) which is currently in experimental stage. Set the `PROVIDER_ID_FORMAT` environmental variable. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
content wise is good but this section contains lots of notes section and became tough to read, lets refactor this page in a separate issue.
6510018
to
a4fffc2
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: Karthik-K-N, mkumatag, Prajyot-Parab 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 |
What this PR does / why we need it:
This PR adds the support to use external cloud controller for VPC cluster, Major changes included are
With this support now users will be able to create a service of type LoadBalancer in workload clusters.
Previous PR to add external cloud provider support for Power VS workload cluster: #614
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when PR gets merged):Fixes #990
Special notes for your reviewer:
/area provider/ibmcloud
Release note: