- Opzet cluster werkt
- Opstart redis en minio werkt - Bezig om eigenlijke apps op te starten ... werkt nog niet.
This commit is contained in:
@@ -214,6 +214,24 @@ krefresh() {
|
||||
deploy_service_group "$group"
|
||||
}
|
||||
|
||||
# Structured deployment of all services (like deploy-all-services.sh)
|
||||
kup-all-structured() {
|
||||
log_operation "INFO" "Starting structured deployment of all services"
|
||||
deploy_all_structured
|
||||
}
|
||||
|
||||
# Test connectivity to all services
|
||||
ktest() {
|
||||
log_operation "INFO" "Testing service connectivity"
|
||||
test_connectivity_ingress
|
||||
}
|
||||
|
||||
# Show connection information
|
||||
kinfo() {
|
||||
log_operation "INFO" "Showing connection information"
|
||||
show_connection_info
|
||||
}
|
||||
|
||||
# Individual service management functions for apps group
|
||||
kup-app() {
|
||||
log_operation "INFO" "Starting eveai-app"
|
||||
@@ -416,6 +434,7 @@ if [[ -n "$ZSH_VERSION" ]]; then
|
||||
# In zsh, functions are automatically available in subshells
|
||||
# But we can make them available globally with typeset
|
||||
typeset -f kup kdown kstop kstart kps klogs krefresh > /dev/null
|
||||
typeset -f kup-all-structured ktest kinfo > /dev/null
|
||||
typeset -f kup-app kdown-app kstop-app kstart-app > /dev/null
|
||||
typeset -f kup-api kdown-api kstop-api kstart-api > /dev/null
|
||||
typeset -f kup-chat-client kdown-chat-client kstop-chat-client kstart-chat-client > /dev/null
|
||||
@@ -427,6 +446,7 @@ if [[ -n "$ZSH_VERSION" ]]; then
|
||||
else
|
||||
# Bash style export
|
||||
export -f kup kdown kstop kstart kps klogs krefresh
|
||||
export -f kup-all-structured ktest kinfo
|
||||
export -f kup-app kdown-app kstop-app kstart-app
|
||||
export -f kup-api kdown-api kstop-api kstart-api
|
||||
export -f kup-chat-client kdown-chat-client kstop-chat-client kstart-chat-client
|
||||
@@ -450,6 +470,9 @@ echo " kstop [group] - stop service group without removal"
|
||||
echo " kstart [group] - start stopped service group"
|
||||
echo " krefresh [group] - restart service group"
|
||||
echo ""
|
||||
echo " Structured Deployment:"
|
||||
echo " kup-all-structured - deploy all services in structured order (like deploy-all-services.sh)"
|
||||
echo ""
|
||||
echo " Individual App Services:"
|
||||
echo " kup-app - start eveai-app"
|
||||
echo " kup-api - start eveai-api"
|
||||
@@ -460,9 +483,11 @@ echo " kup-beat - start eveai-beat"
|
||||
echo " kup-entitlements - start eveai-entitlements"
|
||||
echo " (and corresponding kdown-, kstop-, kstart- functions)"
|
||||
echo ""
|
||||
echo " Status & Logs:"
|
||||
echo " Status & Testing:"
|
||||
echo " kps - show service status"
|
||||
echo " klogs [service] - view service logs"
|
||||
echo " ktest - test service connectivity"
|
||||
echo " kinfo - show connection information"
|
||||
echo ""
|
||||
echo " Cluster Management:"
|
||||
echo " cluster-start - start cluster"
|
||||
|
||||
Reference in New Issue
Block a user