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

Additional extra arguments for TCP components #103

Merged
merged 3 commits into from
Jul 21, 2022

Conversation

prometherion
Copy link
Member

Closes #101.

A new specification key has been introduced as follows.

$: kubectl explain tcp.spec.controlPlane.deployment.extraArgs
KIND:     TenantControlPlane
VERSION:  kamaji.clastix.io/v1alpha1

RESOURCE: extraArgs <Object>

DESCRIPTION:
     ExtraArgs allows adding additional arguments to the Control Plane
     components, such as kube-apiserver, controller-manager, and scheduler.

FIELDS:
   apiServer    <[]string>

   controllerManager    <[]string>

   kine <[]string>
     Available only if Kamaji is running using Kine as backing storage.

   scheduler    <[]string>

Example of usage with a manifest.

apiVersion: kamaji.clastix.io/v1alpha1
kind: TenantControlPlane
metadata:
  name: test
spec:
  addons:
    coreDNS: {}
    konnectivity:
      agentImage: us.gcr.io/k8s-artifacts-prod/kas-network-proxy/proxy-agent
      proxyPort: 30184
      serverImage: us.gcr.io/k8s-artifacts-prod/kas-network-proxy/proxy-server
      version: v0.0.31
    kubeProxy: {}
  controlPlane:
    deployment:
      extraArgs:
        apiServer:
        - --cloud-provider=external
        controllerManager:
        - --cloud-provider=external
      replicas: 1
    ingress:
      enabled: false
    service:
      serviceType: LoadBalancer
  kubernetes:
    admissionControllers:
    - ResourceQuota
    - LimitRanger
    kubelet:
      cgroupfs: systemd
    version: v1.23.1
  networkProfile:
    dnsServiceIPs:
    - 10.96.0.10
    podCidr: 10.244.0.0/16
    port: 6443
    serviceCidr: 10.96.0.0/16

@prometherion prometherion merged commit 62129f3 into clastix:master Jul 21, 2022
@prometherion prometherion deleted the issues/101 branch July 21, 2022 13:33
@prometherion prometherion mentioned this pull request Sep 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support for additional extra arguments in TCP components
1 participant