Begin adding kopi hour talk materials.
This commit is contained in:
@ -0,0 +1,16 @@
|
||||
---
|
||||
apiVersion: app.k8s.io/v1beta1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: guestbook
|
||||
namespace: guestbook
|
||||
spec:
|
||||
selector:
|
||||
matchExpressions:
|
||||
- key: app
|
||||
operator: In
|
||||
values:
|
||||
- guestbook-app
|
||||
componentKinds:
|
||||
- group: apps.open-cluster-management.io
|
||||
kind: Subscription
|
||||
@ -0,0 +1,9 @@
|
||||
---
|
||||
apiVersion: apps.open-cluster-management.io/v1
|
||||
kind: Channel
|
||||
metadata:
|
||||
name: guestbook-app-latest
|
||||
namespace: guestbook
|
||||
spec:
|
||||
type: GitHub
|
||||
pathname: https://github.com/jmhbnz/acm-demo-app.git
|
||||
@ -0,0 +1,6 @@
|
||||
resources:
|
||||
- namespace.yaml
|
||||
- channel.yaml
|
||||
- placementrule.yaml
|
||||
- subscription.yaml
|
||||
- application.yaml
|
||||
@ -0,0 +1,5 @@
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: guestbook
|
||||
@ -0,0 +1,16 @@
|
||||
|
||||
apiVersion: apps.open-cluster-management.io/v1
|
||||
kind: PlacementRule
|
||||
metadata:
|
||||
name: guestbook-pr
|
||||
namespace: guestbook
|
||||
labels:
|
||||
app: guestbook-app
|
||||
spec:
|
||||
clusterReplicas: 2
|
||||
clusterConditions:
|
||||
- type: ManagedClusterConditionAvailable
|
||||
status: "True"
|
||||
clusterSelector:
|
||||
matchLabels:
|
||||
name: dev-a
|
||||
@ -0,0 +1,16 @@
|
||||
apiVersion: apps.open-cluster-management.io/v1
|
||||
kind: Subscription
|
||||
metadata:
|
||||
name: guestbook-app
|
||||
namespace: guestbook
|
||||
labels:
|
||||
app: guestbook-app
|
||||
annotations:
|
||||
apps.open-cluster-management.io/git-path: guestbook-app/guestbook
|
||||
apps.open-cluster-management.io/git-branch: main
|
||||
spec:
|
||||
channel: guestbook/guestbook-app-latest
|
||||
placement:
|
||||
placementRef:
|
||||
kind: PlacementRule
|
||||
name: guestbook-pr
|
||||
Reference in New Issue
Block a user