-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Raffaele Spazzoli <[email protected]>
- Loading branch information
1 parent
4a307da
commit e89cda4
Showing
11 changed files
with
83 additions
and
222 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
apiVersion: operator.openshift.io/v1 | ||
kind: IngressController | ||
metadata: | ||
name: nlb | ||
namespace: openshift-ingress-operator | ||
spec: | ||
replicas: 2 | ||
domain: nlb.control-cluster-raffa.demo.red-chesterfield.com | ||
endpointPublishingStrategy: | ||
type: "Private" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
kind: Service | ||
apiVersion: v1 | ||
metadata: | ||
annotations: | ||
# service.beta.kubernetes.io/aws-load-balancer-healthcheck-healthy-threshold: '2' | ||
# service.beta.kubernetes.io/aws-load-balancer-healthcheck-interval: '5' | ||
# service.beta.kubernetes.io/aws-load-balancer-healthcheck-timeout: '4' | ||
# service.beta.kubernetes.io/aws-load-balancer-healthcheck-unhealthy-threshold: '2' | ||
# service.beta.kubernetes.io/aws-load-balancer-proxy-protocol: '*' | ||
service.beta.kubernetes.io/aws-load-balancer-type: "nlb" | ||
name: router-nlb | ||
namespace: openshift-ingress | ||
labels: | ||
app: router | ||
ingresscontroller.operator.openshift.io/owning-ingresscontroller: nlb | ||
router: router-nlb | ||
spec: | ||
ports: | ||
- name: http | ||
protocol: TCP | ||
port: 80 | ||
targetPort: http | ||
- name: https | ||
protocol: TCP | ||
port: 443 | ||
targetPort: https | ||
selector: | ||
ingresscontroller.operator.openshift.io/deployment-ingresscontroller: nlb | ||
type: LoadBalancer | ||
externalTrafficPolicy: Local |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
apiVersion: operator.knative.dev/v1alpha1 | ||
kind: KnativeEventing | ||
metadata: | ||
name: knative-eventing |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
apiVersion: operator.knative.dev/v1alpha1 | ||
kind: KnativeServing | ||
metadata: | ||
name: knative-serving |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
apiVersion: operators.coreos.com/v1alpha1 | ||
kind: Subscription | ||
metadata: | ||
name: "serverless-operator" | ||
namespace: "openshift-operators" | ||
spec: | ||
channel: '4.5' | ||
installPlanApproval: Automatic | ||
name: serverless-operator | ||
source: redhat-operators | ||
sourceNamespace: openshift-marketplace |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# Serverless Operator | ||
|
||
## Install the Operator | ||
|
||
```shell | ||
oc apply -f operators.yaml | ||
``` | ||
|
||
## Install knative serving and eventing | ||
|
||
```shell | ||
oc new-project knative-serving | ||
oc apply -f knative-serving.yaml -n knative-serving | ||
oc new-project knative-eventing | ||
oc apply -f knative-eventing.yaml -n knative-eventing | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters