blob: f3451ba56d3ce71ac31515f50d413470a922163f [file] [log] [blame]
#
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
#
# Our Subtraction and Multiplication services are Knative Services, meaning that they will scale to 0 when the workflow is not running
# Requires OpenShift Serverless operator installed or Knative Service on Kubernetes environments
---
apiVersion: serving.knative.dev/v1
kind: Service
metadata:
name: subtraction-service
spec:
template:
spec:
containers:
- image: quay.io/<your_namespace>/subtraction-service:latest
---
apiVersion: serving.knative.dev/v1
kind: Service
metadata:
name: multiplication-service
spec:
template:
spec:
containers:
- image: quay.io/<your_namespace>/multiplication-service:latest