Skip to content

Deploying metallb components in a cluster via metallb-operator not works #415

@roopeshsn

Description

@roopeshsn

The steps I followed are,

  1. Installed operator-lifecycle-manager through the below command,
curl -sL https://github.com/operator-framework/operator-lifecycle-manager/releases/download/v0.26.0/install.sh | bash -s v0.26.0
  1. Installed the operator itself,
kubectl create -f https://operatorhub.io/install/metallb-operator.yaml
  1. Created a namespace metallb-system
  2. Applied the custom resource manifest of kind MetalLB
kubectl apply -f https://raw.githubusercontent.com/metallb/metallb-operator/main/config/samples/metallb.yaml

But after doing the above steps the operator didn't create controller deployment or speaker daemonset. I checked both metallb-system and operators namespaces.

roopesh@roopesh-mi-notebook-14:~/kind$ kubectl get all -n operators
NAME                                                      READY   STATUS    RESTARTS   AGE
pod/metallb-operator-controller-manager-8fc456569-2d7qh   1/1     Running   0          27m
pod/metallb-operator-webhook-server-6d7978fb9f-v6tr9      1/1     Running   0          27m

NAME                                                  TYPE        CLUSTER-IP      EXTERNAL-IP   PORT(S)   AGE
service/metallb-operator-controller-manager-service   ClusterIP   10.96.238.122   <none>        443/TCP   27m
service/metallb-operator-webhook-server-service       ClusterIP   10.96.94.182    <none>        443/TCP   27m
service/metallb-operator-webhook-service              ClusterIP   10.96.178.56    <none>        443/TCP   27m
service/webhook-service                               ClusterIP   10.96.72.44     <none>        443/TCP   27m

NAME                                                  READY   UP-TO-DATE   AVAILABLE   AGE
deployment.apps/metallb-operator-controller-manager   1/1     1            1           27m
deployment.apps/metallb-operator-webhook-server       1/1     1            1           27m

NAME                                                            DESIRED   CURRENT   READY   AGE
replicaset.apps/metallb-operator-controller-manager-8fc456569   1         1         1       27m
replicaset.apps/metallb-operator-webhook-server-6d7978fb9f      1         1         1       27m

roopesh@roopesh-mi-notebook-14:~/kind$ kubectl get all -n metallb-system
No resources found in metallb-system namespace

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