-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed Readme, healthcheck scripts and added example folder with autom…
…ation script
- Loading branch information
1 parent
34e4c8b
commit 897a661
Showing
16 changed files
with
297 additions
and
41 deletions.
There are no files selected for viewing
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
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
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,20 @@ | ||
apiVersion: argoproj.io/v1alpha1 | ||
kind: Application | ||
metadata: | ||
name: openkruise-cloneset-test | ||
namespace: argocd | ||
spec: | ||
project: default | ||
source: | ||
repoURL: 'https://github.com/maheshkasabe/kruise-argo/' | ||
path: example/openkruise_workloads/cloneset/ | ||
targetRevision: HEAD | ||
destination: | ||
server: 'https://kubernetes.default.svc' | ||
namespace: default | ||
syncPolicy: | ||
syncOptions: | ||
- CreateNamespace=true # to create the namaspace if not exsists | ||
automated: | ||
prune: true | ||
selfHeal: true |
27 changes: 27 additions & 0 deletions
27
example/openkruise_workloads/cloneset/guestbook-clone.yaml
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,27 @@ | ||
apiVersion: apps.kruise.io/v1alpha1 | ||
kind: CloneSet | ||
metadata: | ||
name: guestbook-clone | ||
labels: | ||
app.kubernetes.io/name: guestbook-clone | ||
spec: | ||
replicas: 5 | ||
selector: | ||
matchLabels: | ||
app.kubernetes.io/name: guestbook-clone | ||
template: | ||
metadata: | ||
labels: | ||
app.kubernetes.io/name: guestbook-clone | ||
spec: | ||
containers: | ||
- name: guestbook | ||
image: openkruise/guestbook:v2 | ||
imagePullPolicy: Always | ||
ports: | ||
- name: http-server | ||
containerPort: 3000 | ||
updateStrategy: | ||
type: InPlaceIfPossible | ||
paused: true | ||
maxUnavailable: 3 |
Oops, something went wrong.