generated from CS3219-AY2324S1/course-assessment-template
-
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.
Co-authored-by: Zenith Yap <[email protected]>
- Loading branch information
Showing
60 changed files
with
2,605 additions
and
950 deletions.
There are no files selected for viewing
12 changes: 0 additions & 12 deletions
12
k8/prod/accessControls/clusterRoleBindings/list-watch-cluster-binding-prod.yaml
This file was deleted.
Oops, something went wrong.
22 changes: 0 additions & 22 deletions
22
k8/prod/accessControls/clusterRoles/list-watch-cluster-prod.yaml
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
167 changes: 167 additions & 0 deletions
167
k8/prod/deployment/collaboration-service-deployment.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,167 @@ | ||
apiVersion: apps/v1 | ||
kind: Deployment | ||
metadata: | ||
annotations: | ||
autopilot.gke.io/resource-adjustment: '{"input":{"containers":[{"name":"collaboration-service-1"}]},"output":{"containers":[{"limits":{"cpu":"500m","ephemeral-storage":"1Gi","memory":"2Gi"},"requests":{"cpu":"500m","ephemeral-storage":"1Gi","memory":"2Gi"},"name":"collaboration-service-1"}]},"modified":true}' | ||
autopilot.gke.io/warden-version: 2.7.41 | ||
deployment.kubernetes.io/revision: "1" | ||
creationTimestamp: "2023-11-12T15:39:24Z" | ||
generation: 3 | ||
labels: | ||
app: collaboration-service-app | ||
managedFields: | ||
- apiVersion: apps/v1 | ||
fieldsType: FieldsV1 | ||
fieldsV1: | ||
f:spec: | ||
f:replicas: {} | ||
manager: vpa-recommender | ||
operation: Update | ||
subresource: scale | ||
- apiVersion: apps/v1 | ||
fieldsType: FieldsV1 | ||
fieldsV1: | ||
f:metadata: | ||
f:labels: | ||
.: {} | ||
f:app: {} | ||
f:spec: | ||
f:progressDeadlineSeconds: {} | ||
f:revisionHistoryLimit: {} | ||
f:selector: {} | ||
f:strategy: | ||
f:rollingUpdate: | ||
.: {} | ||
f:maxSurge: {} | ||
f:maxUnavailable: {} | ||
f:type: {} | ||
f:template: | ||
f:metadata: | ||
f:labels: | ||
.: {} | ||
f:app: {} | ||
f:spec: | ||
f:containers: | ||
k:{"name":"collaboration-service-1"}: | ||
.: {} | ||
f:image: {} | ||
f:imagePullPolicy: {} | ||
f:name: {} | ||
f:resources: {} | ||
f:terminationMessagePath: {} | ||
f:terminationMessagePolicy: {} | ||
f:dnsPolicy: {} | ||
f:restartPolicy: {} | ||
f:schedulerName: {} | ||
f:securityContext: {} | ||
f:terminationGracePeriodSeconds: {} | ||
manager: GoogleCloudConsole | ||
operation: Update | ||
time: "2023-11-12T15:39:24Z" | ||
- apiVersion: apps/v1 | ||
fieldsType: FieldsV1 | ||
fieldsV1: | ||
f:metadata: | ||
f:annotations: | ||
f:deployment.kubernetes.io/revision: {} | ||
f:status: | ||
f:availableReplicas: {} | ||
f:conditions: | ||
.: {} | ||
k:{"type":"Available"}: | ||
.: {} | ||
f:lastTransitionTime: {} | ||
f:lastUpdateTime: {} | ||
f:message: {} | ||
f:reason: {} | ||
f:status: {} | ||
f:type: {} | ||
k:{"type":"Progressing"}: | ||
.: {} | ||
f:lastTransitionTime: {} | ||
f:lastUpdateTime: {} | ||
f:message: {} | ||
f:reason: {} | ||
f:status: {} | ||
f:type: {} | ||
f:observedGeneration: {} | ||
f:readyReplicas: {} | ||
f:replicas: {} | ||
f:updatedReplicas: {} | ||
manager: kube-controller-manager | ||
operation: Update | ||
subresource: status | ||
time: "2023-11-12T15:45:56Z" | ||
name: collaboration-service-deployment | ||
namespace: default | ||
resourceVersion: "1328049" | ||
uid: e5325edc-42d5-4a61-884c-436bc1e2249a | ||
spec: | ||
progressDeadlineSeconds: 600 | ||
replicas: 1 | ||
revisionHistoryLimit: 10 | ||
selector: | ||
matchLabels: | ||
app: collaboration-service-app | ||
strategy: | ||
rollingUpdate: | ||
maxSurge: 25% | ||
maxUnavailable: 25% | ||
type: RollingUpdate | ||
template: | ||
metadata: | ||
creationTimestamp: null | ||
labels: | ||
app: collaboration-service-app | ||
spec: | ||
containers: | ||
- image: registry.gitlab.com/peerprepgroup51sem1y2023/docker/collaboration-service:latest | ||
imagePullPolicy: Always | ||
name: collaboration-service-1 | ||
resources: | ||
limits: | ||
cpu: 500m | ||
ephemeral-storage: 1Gi | ||
memory: 2Gi | ||
requests: | ||
cpu: 500m | ||
ephemeral-storage: 1Gi | ||
memory: 2Gi | ||
securityContext: | ||
capabilities: | ||
drop: | ||
- NET_RAW | ||
terminationMessagePath: /dev/termination-log | ||
terminationMessagePolicy: File | ||
dnsPolicy: ClusterFirst | ||
restartPolicy: Always | ||
schedulerName: default-scheduler | ||
securityContext: | ||
seccompProfile: | ||
type: RuntimeDefault | ||
terminationGracePeriodSeconds: 30 | ||
tolerations: | ||
- effect: NoSchedule | ||
key: kubernetes.io/arch | ||
operator: Equal | ||
value: amd64 | ||
status: | ||
availableReplicas: 1 | ||
conditions: | ||
- lastTransitionTime: "2023-11-12T15:39:40Z" | ||
lastUpdateTime: "2023-11-12T15:39:40Z" | ||
message: Deployment has minimum availability. | ||
reason: MinimumReplicasAvailable | ||
status: "True" | ||
type: Available | ||
- lastTransitionTime: "2023-11-12T15:39:24Z" | ||
lastUpdateTime: "2023-11-12T15:39:40Z" | ||
message: ReplicaSet "collaboration-service-deployment-77948f9645" has successfully | ||
progressed. | ||
reason: NewReplicaSetAvailable | ||
status: "True" | ||
type: Progressing | ||
observedGeneration: 3 | ||
readyReplicas: 1 | ||
replicas: 1 | ||
updatedReplicas: 1 |
Oops, something went wrong.