Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add ai-navigator-app #1514

Merged
merged 12 commits into from
Sep 8, 2023
106 changes: 106 additions & 0 deletions services/ai-navigator-app/0.1.0/ai-navigator-app.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,106 @@
apiVersion: v1
kind: ServiceAccount
metadata:
name: ai-navigator-app
namespace: ${releaseNamespace}
---
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
name: ai-navigator-app
namespace: ${releaseNamespace}
rules:
- apiGroups: ["kommander.mesosphere.io"]
resources: ["licenses"]
verbs: ["get", "list"]
- apiGroups: [""]
resources: ["secrets"]
verbs: ["get"]
---
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
name: ai-navigator-app
namespace: ${releaseNamespace}
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role
name: ai-navigator-app
subjects:
- kind: ServiceAccount
name: ai-navigator-app
namespace: ${releaseNamespace}
---
apiVersion: v1
mstruebing marked this conversation as resolved.
Show resolved Hide resolved
cbuto marked this conversation as resolved.
Show resolved Hide resolved
kind: ConfigMap
metadata:
name: ai-navigator-app-config
namespace: ${releaseNamespace}
data:
CHATBOT_URL: "https://chatbot.api.d2iq.com/v1/chat"
AUTHORIZER_URL: "https://auth.api.d2iq.com"
LICENSE_NAMESPACE: ${releaseNamespace}
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: ai-navigator-app
namespace: ${releaseNamespace}
labels:
app: ai-navigator-app
spec:
replicas: 1
selector:
matchLabels:
app: ai-navigator-app
template:
metadata:
labels:
app: ai-navigator-app
spec:
mstruebing marked this conversation as resolved.
Show resolved Hide resolved
serviceAccountName: ai-navigator-app
containers:
mstruebing marked this conversation as resolved.
Show resolved Hide resolved
- name: ai-navigator-app
image: mesosphere/ai-navigator-app:development # TODO: Version
mstruebing marked this conversation as resolved.
Show resolved Hide resolved
mstruebing marked this conversation as resolved.
Show resolved Hide resolved
envFrom:
- configMapRef:
name: ai-navigator-app-config
ports:
- containerPort: 8080
name: http
readinessProbe:
httpGet:
path: /healthz
port: 8080
scheme: HTTP
livenessProbe:
httpGet:
path: /healthz
port: 8080
scheme: HTTP
initialDelaySeconds: 60
timeoutSeconds: 30
failureThreshold: 10
securityContext:
allowPrivilegeEscalation: false
capabilities:
drop:
- ALL
readOnlyRootFilesystem: true
runAsNonRoot: true
seccompProfile:
type: RuntimeDefault
---
apiVersion: v1
kind: Service
metadata:
name: ai-navigator-app
namespace: ${releaseNamespace}
spec:
selector:
app: ai-navigator-app
ports:
- name: service-port
protocol: TCP
port: 80
targetPort: http
2 changes: 2 additions & 0 deletions services/ai-navigator-app/0.1.0/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ai-navigator-app.yaml
19 changes: 18 additions & 1 deletion services/ai-navigator-app/metadata.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,25 @@
displayName: DKP AI Navigator
description: DKP AI Navigator is D2iQ’s cool chatbot tool
description: The AI Navigator is a state-of-the-art chatbot powered by advanced artificial intelligence, purpose-built for seamless Kubernetes cluster management and DKP environment optimization.
category:
- tools
type: platform
mstruebing marked this conversation as resolved.
Show resolved Hide resolved
allowMultipleInstances: false
scope:
- workspace
overview: |-
# Overview
The AI Navigator is a state-of-the-art chatbot powered by advanced artificial intelligence, purpose-built for seamless Kubernetes cluster management and DKP environment optimization. Designed with the intricacies of DKP in mind, it offers personalized insights, troubleshooting assistance, and real-time answers to the most pressing user queries. Leveraging its deep knowledge base and tailored response mechanism, the AI Navigator minimizes the knowledge gap, enabling users to focus more on achieving their business goals rather than being bogged down by technical configurations.

## Key Features
### Intuitive Query Processing
Empowered by Natural Language Processing (NLP), the AI Navigator interprets user queries, even if they’re not phrased technically, making it a go-to tool for both novices and experts.

### Real-time Troubleshooting Assistance
With its vast database of common DKP issues and solutions, the AI Navigator can provide instant solutions, dramatically reducing downtime and enhancing productivity.

### Seamless DKP Integration
Being native to the DKP platform, the AI Navigator ensures users get the most out of their DKP environments by offering insights, best practices, and performance optimization tips.

### Privacy First Approach
Data privacy and security remain paramount, ensuring user trust and compliance.
icon: PHN2ZyB3aWR0aD0iNDgiIGhlaWdodD0iNDgiIHZpZXdCb3g9IjAgMCA0OCA0OCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHJlY3Qgd2lkdGg9IjQ4IiBoZWlnaHQ9IjQ4IiBmaWxsPSIjMzMwMDcyIi8+CjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMF8xMzkzXzEyMzUpIj4KPHBhdGggb3BhY2l0eT0iMC40IiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTIzLjg3NTEgMTAuMTcxN0MyMC42ODAxIDEwLjE3MTcgMTcuNDkyNSAxMS4yNjExIDE0Ljg5NjYgMTMuNDM5M0MxMy4zMzQyIDE0Ljc1MDMgMTIuMTI2NyAxNi4zNDU1IDExLjI4ODEgMTguMDkyM0MxMS4xNzE3IDE4LjA4MTIgMTEuMDU4NCAxOC4wNTYgMTAuOTM4OSAxOC4wNTZDOC44NTIxMSAxOC4wNTYgNy4xNzE4OCAxOS43MzYxIDcuMTcxODggMjEuODIyOVYyNi40Nzg2QzcuMTcxODggMjguNTY1NCA4Ljg1MjExIDMwLjI0NTUgMTAuOTM4OSAzMC4yNDU1QzExLjA1ODQgMzAuMjQ1NSAxMS4xNzE3IDMwLjIxOTYgMTEuMjg4MSAzMC4yMDkzQzExLjQzODIgMzAuNTIwNSAxMS41OTM2IDMwLjgyOTQgMTEuNzY4NyAzMS4xMzI5QzEyLjQ1MzEgMzIuMzU0NSAxNC4yODE4IDMxLjMwODYgMTMuNTc1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