The service account "px-account" is missing
Falydoor opened this issue · 1 comments
Is this a BUG REPORT or FEATURE REQUEST?:
BUG REPORT
What happened:
The service portworx-api
is not working because the service account px-account
is missing.
What you expected to happen:
The service portworx-api
should be working without any warnings.
How to reproduce it (as minimally and precisely as possible):
Follow the instructions on https://github.com/mesosphere/dcos-kubernetes-quickstart to create a fresh k8s cluster on DCOS.
Apply the configuration generated by https://install.portworx.com/?kbver=1.14.1&dcos=true&stork=true on the k8s cluster.
Check the events of the service portworx-api
, you should see a warning saying that the account px-account
was not found.
Anything else we need to know?:
The issue was fixed by applying the below configuration:
apiVersion: v1
kind: ServiceAccount
metadata:
name: px-account
namespace: kube-system
Environment:
- Kubernetes version (use
kubectl version
): 1.14.1 - Cloud provider or hardware configuration: DCOS on AWS
- OS (e.g. from /etc/os-release): macOS
- Kernel (e.g.
uname -a
): macOS - Install tools:
- Others:
@Falydoor Thanks for pointing it out. This isn't an issue with stork but with the Portworx spec generator. I've added the service account there when deploying for DC/OS