This repository has been archived by the owner on Oct 10, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 192
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
37 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -813,4 +813,4 @@ func (c *TkgClient) ValidateManagementClusterVersionWithCLI(regionalClusterClien | |
} | ||
|
||
return nil | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# Setup workload cluster on AWS using the ClusterClass mechanism | ||
|
||
- Checkout `cc_aws_integ` branch of `https://github.com/vmware-tanzu/tanzu-framework.git` repo. | ||
- Run `make build-install-cli-local`. This should build and install the Tanzu CLI on your machine. | ||
- Update ~/.config/tanzu/tkg/bom/tkg-bom-v1.6.0-zshippable.yaml. | ||
|
||
```text | ||
tanzu-framework-management-packages: | ||
- version: v0.21.0-dev-142-g9c114e97 | ||
images: | ||
tanzuFrameworkManagementPackageRepositoryImage: | ||
imagePath: management | ||
imageRepository: gcr.io/eminent-nation-87317/tkg/test16 | ||
tag: v0.21.0 | ||
``` | ||
|
||
- Create a management-cluster on AWS. Currently we only validated the ClusterClass based workflows on AWS. `tanzu management-cluster create --ui` | ||
- Set kubeconfig/kubeconfig to point to the newly created management cluster. | ||
- Run this script - `pkg/v1/tkg/test/scripts/cc_hack.sh`. | ||
- Your management-cluster is now ready for you to create a workload cluster using the cluster class mechanism. Create a workload cluster. `tanzu cluster create workload -f wc_config.yaml -v 6` | ||
- Contents of the `wc_config.yaml` - | ||
|
||
```text | ||
AWS_REGION: us-east-1 | ||
AWS_SSH_KEY_NAME: <ssh key name setup on your AWS environement> | ||
``` | ||
|
||
- You might hit an issue with workload cluster creation and it is a known issue - <https://github.com/kubernetes-sigs/cluster-api-provider-aws/issues/3399> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters