Skip to content

Invalid CCM yaml template #249

@jiejiecn

Description

@jiejiecn

I tried to setup an unmanaged k8s cluster on Linode through Rancher. After this I tried to install CCM so I can create a NodeBalancer through Serivce LoadBalancer. During the procedure, I found some invalid parameters in the template yaml file. Maybe it's not up to date.

Under the "DaemonSet" section:

  hostNetwork: true                                          #error log shows port 10260 already used on the node
                                                                         #just remove this hostNetwork, the pods can run normally
  containers:
      image: linode/linode-cloud-controller-manager:v0.4.19
      imagePullPolicy: Always
      name: ccm-linode
      args:
      - --leader-elect-resource-lock=endpoints    #error log shows this must be "leases"
      - --v=3
      - --port=0                                                      #error log shows this --port is an unknow arg
      - --secure-port=10253

Other issues:
The log shows I need to specify the --master or --kubeconfig, otherwise the CCM can't access the API server.
I mounted a volume with kubeconfig file and specify the --kubeconfig, it's working. But I don't think it's a good idea to do so.
I'm wondering if it's a BUG?

The final parameters that I make it running

image

I'm not specialized in k8s, pls correct me if I missed something :-)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions