# PodSecurityPolicy issue with ECK Operator 2.6.1

**URL:** <https://discuss.elastic.co/t/podsecuritypolicy-issue-with-eck-operator-2-6-1/324794>\
**Category:** Elastic Cloud on Kubernetes (ECK)\
**Created:** [February 6, 2023, 1:58pm UTC](https://discuss.elastic.co/t/podsecuritypolicy-issue-with-eck-operator-2-6-1/324794 "2023-02-06T13:58:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sebastianboelling](https://avatars.discourse-cdn.com/v4/letter/s/258eb7/32.png) [@sebastianboelling](https://discuss.elastic.co/u/sebastianboelling)\
**Post date:** [February 6, 2023, 1:58pm UTC](https://discuss.elastic.co/t/podsecuritypolicy-issue-with-eck-operator-2-6-1/324794/1 "2023-02-06T13:58:47Z")

</div>

Hi,

I am trying to deploy ECK Operator 2.6.1 on K8s based on that example: [Deploy ECK in your Kubernetes cluster | Elastic Cloud on Kubernetes [2.6] | Elastic](https://www.elastic.co/guide/en/cloud-on-k8s/current/k8s-deploy-eck.html)

I used an local stored operator.yaml

```auto
kubectl apply -f operator.yaml

```

But nothing happens. I tried then

```auto
kubectl -n myns describe statefulset.apps/elastic-operator

```

And got the following message:

```auto

Events:
  Type Reason Age From Message
  ---- ------ ---- ---- -------
  Warning FailedCreate 39s (x11 over 44s) statefulset-controller create Pod elastic-operator-0 in StatefulSet elastic-operator failed error: pods "elastic-operator-0" is forbidden: PodSecurityPolicy: unable to admit pod: []

```

Best regards

Sebastian

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [March 6, 2023, 1:59pm UTC](https://discuss.elastic.co/t/podsecuritypolicy-issue-with-eck-operator-2-6-1/324794/2 "2023-03-06T13:59:21Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
