Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions .github/workflows/copilot.trigger-cluster-doctor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
80 changes: 68 additions & 12 deletions Act-3/argocd/apps/broken-aks-store-all-in-one.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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:
Expand All @@ -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
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down