-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🎨 css to handle filter and result
- Loading branch information
1 parent
1e1f6c4
commit 3c0e3b3
Showing
9 changed files
with
333 additions
and
181 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#!/bin/bash | ||
|
||
name_to_delete="pre-install-kibana-kibana" | ||
namespace="ridoc" | ||
# Get a list of available resource types | ||
resource_types=$(kubectl api-resources --verbs=list -o name | cut -d / -f 2) | ||
kubectl delete configmaps kibana-kibana-helm-scripts -n ridoc | ||
kubectl delete -n ridoc secrets kibana-kibana-es-token | ||
kubectl delete pods --field-selector status.phase=Failed -n ridoc | ||
kubectl delete -n ridoc deployment kibana-kibana | ||
|
||
for resource in $resource_types; do | ||
# List resources with the specified name | ||
resource_list=$(kubectl get $resource -n $namespace --field-selector metadata.name=$name_to_delete --ignore-not-found=true --output=custom-columns=:.metadata.name --no-headers) | ||
if [ -n "$resource_list" ]; then | ||
# Delete resources with the specified name | ||
echo "Delete $resource $resource_list" | ||
kubectl delete $resource -n $namespace --field-selector metadata.name=$name_to_delete --ignore-not-found=true | ||
fi | ||
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
elasticsearchHosts: "http://elasticsearch-master:9200" | ||
imageTag: "7.17.0" | ||
|
||
replicas: 1 | ||
|
||
resources: | ||
requests: | ||
cpu: "300m" | ||
memory: "0.1Gi" | ||
limits: | ||
cpu: "300m" | ||
memory: "0.5Gi" | ||
|
||
# extraEnvs: | ||
# - name: "NODE_OPTIONS" | ||
# value: "--max-old-space-size=1800" | ||
# healthCheckPath: "/api/status" | ||
# protocol: http | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.