k8s deployment

This commit is contained in:
Stéphane Tailland
2026-05-08 12:58:17 +02:00
parent 9102725e6e
commit 1551b7f228
7 changed files with 74 additions and 6 deletions
+24
View File
@@ -0,0 +1,24 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: mcp-jira
namespace: mcp
spec:
replicas: 1
selector:
matchLabels:
app: mcp-jira
template:
metadata:
labels:
app: mcp-jira
spec:
containers:
- name: mcp-jira
image: ghcr.io/sooperset/mcp-atlassian:latest
args: ["--transport", "streamable-http", "--port", "9000"]
ports:
- containerPort: 9000
envFrom:
- secretRef:
name: mcp-jira-credentials
+4
View File
@@ -0,0 +1,4 @@
apiVersion: v1
kind: Namespace
metadata:
name: mcp
+10
View File
@@ -0,0 +1,10 @@
apiVersion: v1
kind: Secret
metadata:
name: mcp-jira-credentials
namespace: mcp
type: Opaque
stringData:
JIRA_URL: "https://your-org.atlassian.net"
JIRA_USERNAME: "your-email@example.com"
JIRA_API_TOKEN: "your-api-token"
+11
View File
@@ -0,0 +1,11 @@
apiVersion: v1
kind: Service
metadata:
name: mcp-jira
namespace: mcp
spec:
selector:
app: mcp-jira
ports:
- port: 9000
targetPort: 9000