Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

After deploying plesk in Kubernetes Engine (GKE) It redirecting me to login page again and again #40

Open
Aadeshkale opened this issue Aug 10, 2021 · 0 comments

Comments

@Aadeshkale
Copy link

Aadeshkale commented Aug 10, 2021

 
---
apiVersion: apps/v1
kind: Deployment
metadata:
  name: plesk-deployment
  labels:
    app: plesk
spec:
  replicas: 2
  selector:
    matchLabels:
      app: plesk
  template:
    metadata:
      labels:
        app: plesk
    spec:
      containers:
      - name: plesk
        image: gcr.io/gcp-tech/plesk:version1
        # imagePullPolicy: Always
        securityContext:
          privileged: true
        ports:
        - containerPort: 8880
        volumeMounts:
        - mountPath: /sys/fs/cgroup
          name: cgroup
          readOnly: true
        - mountPath: /tmp
          name: tmpfs
        - mountPath: /run
          name: tmpfs
        - mountPath: /run/lock
          name: tmpfs
      volumes:
      - name: tmpfs
        emptyDir: {}
      - name: cgroup
        hostPath:
            path: "/sys/fs/cgroup"
            type: Directory
 

---
apiVersion: v1
kind: Service
metadata:
  name: plesk-Service
spec:
  selector:
    app: plesk
  ports:
    - protocol: TCP
      port: 8880
      targetPort: 8880
  type: LoadBalancer```
@Aadeshkale Aadeshkale changed the title After deploying plesk in Kubernetes Engine (GKE) It re directing me to login page again and again After deploying plesk in Kubernetes Engine (GKE) It redirecting me to login page again and again Aug 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant