-
Notifications
You must be signed in to change notification settings - Fork 132
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CLIP-1878: Update KinD scripts and config to be able to run DC functi…
…onal tests (#812) * Update kind scripts and config to run functional tests * Increase readiness probe failure threshold * Remove debug selector --------- Co-authored-by: Yevhen Ivantsov <[email protected]>
- Loading branch information
Showing
9 changed files
with
303 additions
and
51 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
apiVersion: v1 | ||
kind: Service | ||
metadata: | ||
name: DC_APP_REPLACEME-0 | ||
namespace: atlassian | ||
spec: | ||
type: NodePort | ||
selector: | ||
statefulset.kubernetes.io/pod-name: DC_APP_REPLACEME-0 | ||
ports: | ||
- name: http | ||
port: 80 | ||
targetPort: http | ||
protocol: TCP | ||
nodePort: 30008 | ||
--- | ||
apiVersion: v1 | ||
kind: Service | ||
metadata: | ||
name: DC_APP_REPLACEME-1 | ||
namespace: atlassian | ||
spec: | ||
type: NodePort | ||
selector: | ||
statefulset.kubernetes.io/pod-name: DC_APP_REPLACEME-1 | ||
ports: | ||
- name: http | ||
port: 80 | ||
targetPort: http | ||
protocol: TCP | ||
nodePort: 30009 |
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,30 @@ | ||
apiVersion: v1 | ||
kind: PersistentVolume | ||
metadata: | ||
name: hostpath-shared-home | ||
namespace: atlassian | ||
spec: | ||
capacity: | ||
storage: 1Gi | ||
accessModes: | ||
- ReadWriteMany | ||
persistentVolumeReclaimPolicy: Delete | ||
hostPath: | ||
path: /mnt/data | ||
type: DirectoryOrCreate | ||
claimRef: | ||
namespace: atlassian | ||
name: hostpath-shared-home-pvc | ||
--- | ||
apiVersion: v1 | ||
kind: PersistentVolumeClaim | ||
metadata: | ||
name: hostpath-shared-home-pvc | ||
namespace: atlassian | ||
spec: | ||
accessModes: | ||
- ReadWriteMany | ||
resources: | ||
requests: | ||
storage: 1Gi | ||
|
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,38 @@ | ||
apiVersion: v1 | ||
kind: Service | ||
metadata: | ||
name: registry | ||
namespace: atlassian | ||
spec: | ||
type: NodePort | ||
selector: | ||
app: registry | ||
ports: | ||
- name: registry-tcp | ||
protocol: TCP | ||
port: 5000 | ||
targetPort: 5000 | ||
nodePort: 32767 | ||
--- | ||
apiVersion: apps/v1 | ||
kind: Deployment | ||
metadata: | ||
labels: | ||
app: registry | ||
name: registry | ||
namespace: atlassian | ||
spec: | ||
replicas: 1 | ||
selector: | ||
matchLabels: | ||
app: registry | ||
template: | ||
metadata: | ||
labels: | ||
app: registry | ||
spec: | ||
containers: | ||
- name: registry | ||
image: registry:2 | ||
ports: | ||
- containerPort: 5000 |
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
Oops, something went wrong.