-
Notifications
You must be signed in to change notification settings - Fork 1
feat: introduce kamaji flavor #130
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
Merged
Changes from all commits
Commits
Show all changes
41 commits
Select commit
Hold shift + click to select a range
066ff51
feat: introduce kamaji flavor
ma-hartma 8821404
chore: remove unneeded definitions
ma-hartma e2ac937
docs: dev-instructions to start kamaji capi-lab flavor
ma-hartma 2377043
fix: provide missing env variables to clusterctl
ma-hartma 702e5ea
fix: run clusterctl via docker compose and provide templates
ma-hartma 2b5a4e3
fix: add missing env variables for clusterctl generate and tenant clu…
ma-hartma 1af322b
chore: remove kubeadm and control-plane definitions from kamaji template
ma-hartma ee2f289
fix: add missing env var METAL_NODE_NETWORK_ID
ma-hartma 50a85d8
feat: deploy CAPMS via make target, remove nodeNetworkID configuratio…
ma-hartma bf5bd7c
extend docs and use newer clusterctl and template versions
ma-hartma f683b14
patch capi-kamaji-controller-manager to allow MetalStackCluster as dy…
ma-hartma 45b46c7
add missing FIREWALL_EXTERNAL_NETWORKS env var when running clusterctl
ma-hartma 08d60cb
chore: bump mini-lab version to latest kamaji flavor and fix typo
mac641 abb8827
temporarily use older pixiecore image to avoid boot loop
ma-hartma 000019a
add make target to retrieve tenant cluster kubeconfig and extend docs
ma-hartma 1a698af
configure kamaji tenant control plane ip and port and allow traffic t…
ma-hartma 356c5b0
add controlPlaneEndpoint to KubeadmConfigTemplate
mac641 8a871a1
fix: add increased resources for mini-lab machines and ensure kamaji …
mac641 490f615
add mtu-fix to docs and use compatible versions for kubelet and kamaji
ma-hartma e08924b
provide nodeNetworkID to MetalStackCluster and add manual deploy step…
ma-hartma 5c8ba94
update submodule
ma-hartma 0cefa8e
exit route workaround
ma-hartma 0daac5b
add manual frr restart step to docs
ma-hartma 3aa6701
add info about kind ip space to docs
ma-hartma 4948844
enable feature gates to allow kubelet to join
ma-hartma 9f9c402
metal-ccm config without nodeselector and additional taint toleration…
ma-hartma 281466d
improve kamaji flavor docs
ma-hartma 216fe9f
chore: update mini-lab submodule
mac641 44a8eb6
introduce kamaji and kubeadm kustomization overlays for metal-ccm con…
ma-hartma 7d91b88
unify kubeconfig naming and locations for capi-lab and kamaji-lab
ma-hartma 2aff8af
remove unused kamaji extra vars
ma-hartma d1b0388
remove manual workaround and update docs
ma-hartma 6bec5ef
docs cleanup
ma-hartma c8fa6e9
makefile cleanup
ma-hartma 027c3eb
remove unneeded clusterctl config and permissions, update docs
ma-hartma 9676c9e
be less verbose in docs
ma-hartma 1559b99
markdown formatting and less verbosity
ma-hartma c244636
kamaji tenant clusters get their own namespaces now
ma-hartma 19a4260
chore: update mini-lab submodule reference
ma-hartma e7f7282
chore: update mini-lab submodule
ma-hartma 441bea9
fix: spaces in makefile
ma-hartma File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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,27 @@ | ||
| --- | ||
| services: | ||
| clusterctl: | ||
| image: registry.k8s.io/cluster-api/clusterctl:v1.12.3 | ||
| environment: | ||
| - EXP_KUBEADM_BOOTSTRAP_FORMAT_IGNITION=true | ||
| - METAL_API_HMAC=${METAL_API_HMAC} | ||
| - METAL_API_URL=${METAL_API_URL} | ||
| - METAL_API_HMAC_AUTH_TYPE=${METAL_API_HMAC_AUTH_TYPE} | ||
| - CLUSTER_NAME=${CLUSTER_NAME} | ||
| - TENANT_NAMESPACE=${TENANT_NAMESPACE} | ||
| - KUBERNETES_VERSION=${KUBERNETES_VERSION} | ||
| - CONTROL_PLANE_IP=${CONTROL_PLANE_IP} | ||
| - PODS_CIDR=${PODS_CIDR} | ||
| - SERVICES_CIDR=${SERVICES_CIDR} | ||
| - METAL_PARTITION=${METAL_PARTITION} | ||
| - METAL_PROJECT_ID=${METAL_PROJECT_ID} | ||
| - CONTROL_PLANE_MACHINE_IMAGE=${CONTROL_PLANE_MACHINE_IMAGE} | ||
| - CONTROL_PLANE_MACHINE_SIZE=${CONTROL_PLANE_MACHINE_SIZE} | ||
| - WORKER_MACHINE_IMAGE=${WORKER_MACHINE_IMAGE} | ||
| - WORKER_MACHINE_SIZE=${WORKER_MACHINE_SIZE} | ||
| - FIREWALL_MACHINE_IMAGE=${FIREWALL_MACHINE_IMAGE} | ||
| - FIREWALL_MACHINE_SIZE=${FIREWALL_MACHINE_SIZE} | ||
| - METAL_NODE_NETWORK_ID=${METAL_NODE_NETWORK_ID} | ||
| - FIREWALL_EXTERNAL_NETWORKS=${FIREWALL_EXTERNAL_NETWORKS} | ||
| volumes: | ||
| - ../config/clusterctl-templates:/templates:ro | ||
|
ma-hartma marked this conversation as resolved.
|
||
This file contains hidden or 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,18 @@ | ||
| apiVersion: operator.tigera.io/v1 | ||
| kind: Installation | ||
| metadata: | ||
| name: default | ||
| spec: | ||
| # Configures Calico networking. | ||
| calicoNetwork: | ||
| bgp: Disabled | ||
| ipPools: | ||
| - name: default-ipv4-ippool | ||
| blockSize: 26 | ||
| cidr: 192.168.0.0/16 | ||
| encapsulation: None | ||
| mtu: 1440 | ||
| cni: | ||
| ipam: | ||
| type: HostLocal | ||
| type: Calico |
This file contains hidden or 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,21 @@ | ||
| apiVersion: rbac.authorization.k8s.io/v1 | ||
| kind: ClusterRole | ||
| metadata: | ||
| name: capi-kamaji-metalstackcluster-access | ||
| rules: | ||
| - apiGroups: ["infrastructure.cluster.x-k8s.io"] | ||
| resources: ["metalstackclusters"] | ||
| verbs: ["get", "list", "watch"] | ||
| --- | ||
| apiVersion: rbac.authorization.k8s.io/v1 | ||
| kind: ClusterRoleBinding | ||
| metadata: | ||
| name: capi-kamaji-metalstackcluster-access | ||
| roleRef: | ||
| apiGroup: rbac.authorization.k8s.io | ||
| kind: ClusterRole | ||
| name: capi-kamaji-metalstackcluster-access | ||
| subjects: | ||
| - kind: ServiceAccount | ||
| name: capi-kamaji-controller-manager | ||
| namespace: kamaji-system |
This file contains hidden or 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,19 @@ | ||
| --- | ||
| apiVersion: metallb.io/v1beta1 | ||
| kind: IPAddressPool | ||
| metadata: | ||
| name: $CLUSTER_NAME-vip | ||
| namespace: metallb-system | ||
| spec: | ||
| addresses: | ||
| - $CONTROL_PLANE_IP/32 | ||
| autoAssign: false | ||
| --- | ||
| apiVersion: metallb.io/v1beta1 | ||
| kind: L2Advertisement | ||
| metadata: | ||
| name: $CLUSTER_NAME-vip | ||
| namespace: metallb-system | ||
| spec: | ||
| ipAddressPools: | ||
| - $CLUSTER_NAME-vip |
Submodule mini-lab
updated
77 files
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.