Skip to content

Incognito mode #271

@linux-devil

Description

@linux-devil

I am trying to launch chrome in incognito using the following config in the terraform script , can someone help me to understand if this is the right way to launch the browser

      template:
        spec:
          initContainers:
          - name: install-fonts
            image: alpine:3.19
            command: ["/bin/sh", "-c"]
            args:
            - |
              set -e
              apk add --no-cache font-noto font-noto-cjk font-noto-emoji ttf-dejavu fontconfig
              mkdir -p /fonts
              cp -r /usr/share/fonts/* /fonts/
              fc-cache -fv /fonts
            volumeMounts:
            - name: fonts
              mountPath: /fonts
          containers:
          - name: ray-worker
            image: ${image}
            imagePullPolicy: IfNotPresent
            resources:
              requests:
                cpu: "500m"
                memory: "500Mi"
              limits:
                cpu: "1000m"
                memory: "1Gi"
          - name: chrome
            image: zenika/alpine-chrome:124
            args:
            - "--disable-gpu"
            - "--remote-debugging-address=0.0.0.0"
            - "--remote-debugging-port=9222"
            - "--window-size=1920,1080"
            - "--force-device-scale-factor=1.5"
            - "--force-color-profile=srgb"
            - "--font-render-hinting=medium"
            - "--incognito"
            - "--no-first-run"
            - "--disable-default-apps"
            - "--disable-smooth-scrolling"
            - "about:blank"

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions