diff --git a/.github/workflows/copilot.trigger-cluster-doctor.yml b/.github/workflows/copilot.trigger-cluster-doctor.yml index b20bc8c..302b730 100644 --- a/.github/workflows/copilot.trigger-cluster-doctor.yml +++ b/.github/workflows/copilot.trigger-cluster-doctor.yml @@ -36,9 +36,7 @@ jobs: echo "Analyzing issue #${{ github.event.issue.number }}" echo "Loading documentation criteria from prompt..." - PROMPT="Use the GitHub MCP Server to help analyze GitHub Issue number {ISSUE_NUMBER} in the repository {REPOSITORY}. Any changes or fixes should be documented back in the GitHub Issue as a comment in the thread, and a PR should be created with any material changes to the repo as part of the fix and noted as part of the issue response." - PROMPT="${PROMPT//\{ISSUE_NUMBER\}/${{ github.event.issue.number }}}" - PROMPT="${PROMPT//\{REPOSITORY\}/${{ github.repository }}}" + PROMPT="Use the GitHub MCP Server to help analyze GitHub Issue #${{ github.event.issue.number }} in the repository ${{ github.repository }}. Any changes or fixes should be documented back in the GitHub Issue as a comment in the thread, and a PR should be created with any material changes to the repo as part of the fix and noted as part of the issue response." echo "Delegating to GitHub Copilot..." echo "- Copilot will use MCP to examine the issue" diff --git a/Act-3/argocd/apps/broken-aks-store-all-in-one.yaml b/Act-3/argocd/apps/broken-aks-store-all-in-one.yaml index 0caf86d..68241f8 100644 --- a/Act-3/argocd/apps/broken-aks-store-all-in-one.yaml +++ b/Act-3/argocd/apps/broken-aks-store-all-in-one.yaml @@ -294,10 +294,10 @@ spec: resources: requests: cpu: 1m - memory: 6Mi + memory: 64Mi limits: - cpu: 5m - memory: 20Mi + cpu: 50m + memory: 128Mi startupProbe: httpGet: path: /health @@ -334,6 +334,62 @@ spec: --- apiVersion: apps/v1 kind: Deployment +metadata: + name: ai-service +spec: + replicas: 1 + selector: + matchLabels: + app: ai-service + template: + metadata: + labels: + app: ai-service + spec: + nodeSelector: + "kubernetes.io/os": linux + containers: + - name: ai-service + image: ghcr.io/azure-samples/aks-store-demo/ai-service:2.1.0 + ports: + - containerPort: 5001 + resources: + requests: + cpu: 5m + memory: 64Mi + limits: + cpu: 50m + memory: 128Mi + readinessProbe: + httpGet: + path: /health + port: 5001 + failureThreshold: 3 + initialDelaySeconds: 3 + periodSeconds: 5 + livenessProbe: + httpGet: + path: /health + port: 5001 + failureThreshold: 5 + initialDelaySeconds: 3 + periodSeconds: 3 +--- +apiVersion: v1 +kind: Service +metadata: + name: ai-service +spec: + type: ClusterIP + ports: + - name: http + port: 5001 + targetPort: 5001 + selector: + app: ai-service +--- +apiVersion: apps/v1 +kind: Deployment metadata: name: product-service spec: @@ -359,10 +415,10 @@ spec: resources: requests: cpu: 1m - memory: 1Mi + memory: 64Mi limits: - cpu: 2m - memory: 20Mi + cpu: 50m + memory: 128Mi readinessProbe: httpGet: path: /health @@ -544,10 +600,10 @@ spec: resources: requests: cpu: 1m - memory: 1Mi + memory: 32Mi limits: - cpu: 2m - memory: 20Mi + cpu: 25m + memory: 64Mi readinessProbe: exec: command: @@ -592,10 +648,10 @@ spec: resources: requests: cpu: 1m - memory: 1Mi + memory: 32Mi limits: - cpu: 2m - memory: 20Mi + cpu: 25m + memory: 64Mi readinessProbe: exec: command: