Skip to content

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

@Aadeshkale

Description

@Aadeshkale
 
---
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```

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions