Skip to content

Reloader is not working with Knative Service #493

@jkurek1

Description

@jkurek1

Hello,
I'm trying to use reloader with Knative Service.

When I'm using default strategy, nothing is happening.
In annotations strategy, pod is indeed created, but after a while terminated, therefore old pod is still running.

image

I tried to put annotations in two places:

apiVersion: serving.knative.dev/v1
kind: Service
metadata:
  name: app
  annotations:
    secret.reloader.stakater.com/reload: application
...
spec:
  template:
    metadata:
      annotations:
        autoscaling.knative.dev/minScale: "1"
        secret.reloader.stakater.com/reload: application

Annotation is added at Deployment Definition level.

When I edit kservice manually and add any annotation, new revision is created and its working fine.
image

Am I doing something wrong or you are not supporting Knative services? If not, it would be really good to have it, especially if it is easy to implement.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions