Skip to main content

Posts

Showing posts from September, 2021

Singlestore database | pipeline on Activescale S3 bucket

Singlestore database on Activescale S3 bucket: CREATE DATABASE <DB_NAME> ON S3 "<BucketName>" CONFIG '{"compatibility_mode": true, "endpoint_url": "http://<endpointName>"}' CREDENTIALS '{"aws_access_key_id":"<yourKey>","aws_secret_access_key":"<yourAccesKey>"}'; You might have faced following error while creating Singlestore database having files on S3 bucket on Activscale. " The AWS Access Key Id you provided does not exist in our records. " Create Database Pipeline: CREATE PIPELINE library AS LOAD DATA S3 '<bucketName>' CONFIG '{"compatibility_mode": true, "endpoint_url": "http://<endpointName>"}' CREDENTIALS '{"aws_access_key_id": "<yourKey>", "aws_secret_access_key": "<yourKey>"}' INTO TABLE `<tableName>` FIELDS TERMINATED BY ...

Kubernetess - You must be logged in to the server (Unauthorized):

Kubernetes - You must be logged in to the server (Unauthorized): Check expiration of the certificates: #kubeadm alpha certs check-expiration OR find /etc/kubernetes/pki/ -type f -name "*.crt" -print|egrep -v 'ca.crt$' |xargs -L 1 -t -i bash -c 'openssl x509 -noout -text -in {}|grep After' Renew all certificates: #kubeadm alpha certs renew all Check expiration of the certificates: #kubeadm alpha certs check-expiration Backup existing config file: #cat cp /etc/kubernetes/admin.conf $HOME/.kube/config > cp /etc/kubernetes/admin.conf.orig Replace the config file #cp /etc/kubernetes/admin.conf $HOME/.kube/config # kubectl get pods --all-namespaces NAMESPACE     NAME                                             READY   STATUS...