selector: matchLabels: app: lotto template: metadata: labels: app: lotto spec: containers: - image: cds19/lotto name: lotto ports: - containerPort: 8080 apiVersion: serving.knative.dev/v1alpha1 kind: Service metadata: name: lotto spec: replicas: 1 selector: matchLabels: app: lotto template: metadata: labels: app: lotto spec: containers: - image: cds19/lotto name: lotto ports: - containerPort: 8080 K8sの Service ま たは Ingress/Route が不要に! Knative Servingとk8sを比較 ※他にもHPAの設定等が減らせる為、 Vanila k8sと比較して記述量が大幅に減る