apiVersion: v1
kind: Pod
spec:  
  containers:
  - name: k6
    image:  vieskov1980/k6influxdb #loadimpact/k6
    #command: ["tail","-f","/dev/null"]
    command: ["/bin/sh"] #
    resources:
      requests:
          cpu: "100m"
          memory: "256Mi"
    tty: true
    securityContext: ## <-- When define USER in Dockerfile, securityContext should be added with root user, so that shell script will not hang in container
      runAsUser: 0

     
 