8bcee26f1a
Implement the stx control module so that the developer could manage the four containers with the 'stx control xxx' command. Containers: (stx-builder|stx-pkgbuilder|stx-lat-tool|stx-repomgr) Now we assume that we have a minikube env to be ready for this module, we can use it directly. For the minikube env installation we can build it with the stx-init-env script later. Now support the action: [status|start|stop|enter|upgrade] stx control status: Check status of the containers stx control start: Boot the containers up stx control stop: Shutdown the containers stx control enter: Login the container(default builder) stx control upgrade: Upgrade the containers This module will be used after the developer have a minikube env, Please refer to the more help information with the command 'stx control --help' Story: 2008862 Task: 42514 Signed-off-by: Zhixiong Chi <zhixiong.chi@windriver.com> Change-Id: I0c25e0f784671e90c56d5d367b12a27c3f3fa7cf
68 lines
1.4 KiB
YAML
68 lines
1.4 KiB
YAML
# Default values for stx-builder.
|
|
# This is a YAML-formatted file.
|
|
# Declare variables to be passed into your templates.
|
|
|
|
---
|
|
replicaCount: 1
|
|
|
|
image:
|
|
repository: stx-builder
|
|
pullPolicy: IfNotPresent
|
|
# Overrides the image tag whose default is the chart appVersion.
|
|
tag: "v0.1.0"
|
|
|
|
volumeMounts:
|
|
name: shared-workspace
|
|
mountPath: /localdisk
|
|
usersetupname: user-setting
|
|
usersetupmountPath: /usr/local/bin/stx
|
|
|
|
volumes:
|
|
name: shared-workspace
|
|
hostPath:
|
|
path: /workspace/localdisk
|
|
usersetupname: user-setting
|
|
configmapname: builder
|
|
|
|
imagePullSecrets: []
|
|
nameOverride: ""
|
|
fullnameOverride: ""
|
|
|
|
podAnnotations: {}
|
|
|
|
podSecurityContext: {}
|
|
# fsGroup: 2000
|
|
|
|
securityContext: {}
|
|
# capabilities:
|
|
# drop:
|
|
# - ALL
|
|
# readOnlyRootFilesystem: true
|
|
# runAsNonRoot: true
|
|
# runAsUser: 1000
|
|
|
|
resources: {}
|
|
# We usually recommend not to specify default resources and to leave this as a conscious
|
|
# choice for the user. This also increases chances charts run on environments with little
|
|
# resources, such as Minikube. If you do want to specify resources, uncomment the following
|
|
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
|
|
# limits:
|
|
# cpu: 100m
|
|
# memory: 128Mi
|
|
# requests:
|
|
# cpu: 100m
|
|
# memory: 128Mi
|
|
|
|
autoscaling:
|
|
enabled: false
|
|
minReplicas: 1
|
|
maxReplicas: 100
|
|
targetCPUUtilizationPercentage: 80
|
|
# targetMemoryUtilizationPercentage: 80
|
|
|
|
nodeSelector: {}
|
|
|
|
tolerations: []
|
|
|
|
affinity: {}
|