DEA - Debit increases Expenses and Assets
CLI - Credit increases Liabilities and Income
Assets | Liabilities (Equity) | Income (Revenue) | Expenses | |
---|---|---|---|---|
Debit | ↑ | ↓ | ↓ | ↑ |
Credit | ↓ | ↑ | ↑ | ↓ |
kubectl get pods --all-namespaces -o custom-columns=NAMESPACE:.metadata.namespace,NAME:.metadata.name,REASON:.status.phase --field-selector=status.phase=Failed --no-headers | awk '{print $1 " " $2}' | while read ns pod; do echo kubectl delete pod $pod -n $ns |
3RD PARTY LICENSES | |
This document contains the list of Third Party Software included with | |
<PROJECT_NAME>, along with the license information. | |
Third Party Software may impose additional restrictions and it is the | |
user's responsibility to ensure that they have met the licensing | |
requirements of <PROJECT_NAME> and the relevant license of | |
the Third Party Software they are using. |
To set-up wal shipping in primary cluster:
pod_environment_configmap: postgres-pod-config
---
apiVersion: v1
kind: ConfigMap
metadata:
[Desktop Entry] | |
Version=1.0 | |
Terminal=false | |
Type=Application | |
Name=Apache Directory Studio | |
Exec=/opt/ApacheDirectoryStudio/ApacheDirectoryStudio | |
Icon=/opt/ApacheDirectoryStudio/features/org.apache.directory.studio.nls.feature_2.0.0.v20170904-M13/studio.png | |
Categories=Network;Development | |
Keywords=ldap; |
[Desktop Entry] | |
Encoding=UTF-8 | |
Version=2.2.3 | |
Type=Application | |
Terminal=false | |
Exec="/opt/android-studio/bin/studio.sh" | |
Name=Android Studio | |
Comment=Android Studio | |
Categories=Programming; | |
Icon=/opt/android-studio/bin/studio.png |
NAMESPACE= | |
CLUSTER_ID= | |
kubectl get namespace $NAMESPACE -o json | jq '.spec = {"finalizers":[]}' > temp.json | |
curl -k -H "Content-Type: application/json" \ | |
-X PUT --data-binary @temp.json \ | |
127.0.0.1:8001/k8s/clusters/$CLUSTER_ID/api/v1/namespaces/$NAMESPACE/finalize |
cat tls.crt | base64 -d | tr '\n' '~' | \ | |
sed 's/-\+END CERTIFICATE-\+~-\+BEGIN CERTIFICATE-\+/~/g' | \ | |
awk '{split($0,array,"~~~")} END{print array[1]}' | tr '~' '\n' > cert.pem | |
echo "-----END CERTIFICATE-----" >> cert.pem | |
echo >> cert.pem | |
echo "-----BEGIN CERTIFICATE-----" > fullchain.pem | |
cat tls.crt | base64 -d | tr '\n' '~' | \ | |
sed 's/-\+END CERTIFICATE-\+~-\+BEGIN CERTIFICATE-\+/~/g' | \ | |
awk '{split($0,array,"~~~")} END{print array[2]}' | tr '~' '\n' >> fullchain.pem |
#!/bin/sh | |
export RANCHER_CONTAINER_NAME=rancher | |
export RANCHER_CONTAINER_TAG=v2.3.5 | |
export DATE=$(date '+%s') | |
docker stop $RANCHER_CONTAINER_NAME | |
docker create --volumes-from $RANCHER_CONTAINER_NAME --name rancher-data-$DATE rancher/rancher:$RANCHER_CONTAINER_TAG | |
docker run --volumes-from rancher-data-$DATE -v $PWD:/backup busybox tar zcvf /backup/rancher-data-backup-$RANCHER_VERSION-$DATE.tar.gz /var/lib/rancher | |
docker start $RANCHER_CONTAINER_NAME |
PLATFORM := $(shell node -e "process.stdout.write(process.platform)") | |
ifeq ($(PLATFORM), win32) | |
SHELL = cmd | |
endif | |
.EXPORT_ALL_VARIABLES: | |
all: | |
@echo platform: $(PLATFORM) | |
@echo shell: $(SHELL) |