GithubHelp home page GithubHelp logo

Comments (5)

dprotaso avatar dprotaso commented on June 2, 2024

What version of Knative are you using? Can you post your example Knative Service YAML?

/triage needs-user-input

from serving.

jgournet avatar jgournet commented on June 2, 2024

Version: 1.10.6
ksvc:

apiVersion: serving.knative.dev/v1
kind: Service
metadata:
  annotations:
  creationTimestamp: "2023-11-12T23:57:26Z"
  generation: 24
  labels:
    app.kubernetes.io/instance: dbt.bigdata--uat
    app.kubernetes.io/managed-by: Helm
    app.kubernetes.io/name: dbt
    app.kubernetes.io/version: 158-main
    argocd.argoproj.io/instance: dbt.bigdata--uat
    gitCommitHash: 45d148a387b600f4146b10c77c3ed8dcec9c9d60
    helm.sh/chart: dbt-158-main
    networking.knative.dev/visibility: cluster-local
  name: dbt
  namespace: bigdata--uat
  resourceVersion: "133295714"
  uid: 1720e7d7-485b-4052-9736-5f0b078dbb9a
spec:
  template:
    metadata:
      annotations:
        autoscaling.knative.dev/max-scale: "1"
        autoscaling.knative.dev/min-scale: "0"
        autoscaling.knative.dev/scale-down-delay: 15m
        autoscaling.knative.dev/target-utilization-percentage: "70"
        cluster-autoscaler.kubernetes.io/safe-to-evict: "false"
        prometheus.io/path: /prometheus/liveness
        prometheus.io/port: "8080"
        prometheus.io/scrape: "false"
        sidecar.istio.io/rewriteAppHTTPProbers: "true"
      creationTimestamp: null
      labels:
        app: dbt
        app.kubernetes.io/instance: dbt.bigdata--uat
        app.kubernetes.io/name: dbt
        envname: sf360
        envtype: uat
        gitCommitHash: 45d148a387b600f4146b10c77c3ed8dcec9c9d60
        version: 158-main
    spec:
      containerConcurrency: 0
      containers:
      - env:
        - name: ENVOY_ADMIN_PORT
          value: "15000"
        - name: AWS_STS_REGIONAL_ENDPOINTS
          value: regional
[...]
        - name: ENV_TYPE
          value: uat
        - name: PARAM_STORE_PATHS_LOAD
          value: /shared/regional/uat /shared/sf360/uat /uat/sf360/dbt
        - name: ndots
          value: "2"
        image: xxxxx.dkr.ecr.ap-southeast-2.amazonaws.com/bigdata/dbt:158-main
        livenessProbe:
          httpGet:
            path: /health/liveness
            port: http1
          initialDelaySeconds: 20
          successThreshold: 1
        name: user-container
        ports:
        - containerPort: 8080
          name: http1
          protocol: TCP
        readinessProbe:
          httpGet:
            path: /health/readiness
            port: http1
          initialDelaySeconds: 5
          successThreshold: 1
        resources:
          limits:
            cpu: "1"
            memory: 1Gi
          requests:
            cpu: 100m
            memory: 512Mi
        securityContext:
          allowPrivilegeEscalation: false
          capabilities:
            drop:
            - ALL
          readOnlyRootFilesystem: false
          runAsNonRoot: true
          runAsUser: 65534
        volumeMounts:
        - mountPath: /tmp/home
          name: tmp-volume
      enableServiceLinks: false
      serviceAccountName: dbt
      timeoutSeconds: 21600
      volumes:
      - emptyDir: {}
        name: tmp-volume

hope this helps

from serving.

dprotaso avatar dprotaso commented on June 2, 2024

1.10 is not supported anymore have you tried this with v1.11 or 1.12?

from serving.

jgournet avatar jgournet commented on June 2, 2024

no, but I will !
thanks

from serving.

jgournet avatar jgournet commented on June 2, 2024

Working great in 1.12
Sorry, I did not realize 1.10 was that old ;)

Marking as closed

from serving.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.