How to keep secrets as part of configmap in kubernetes?

I have a config map which creates a config file to my application. The structure is as below. apiVersion: v1 kind: ConfigMap metadata: name: database-configmap data: config: | dbport=5432 dcname= dbssl=false locktime=300 domainuser= dattserverhost=localhost conntype=ON-PREM dbinstance= dattusessl=false dbpwd=VrjvBguQ iisport=80 docountupgrade=false doreportupgrade=false dbname=dattdatabase dattuseiis=false dbtype=POSTGRESQL dbusername=postg domainpwd= Complete file will be dumped to a properties … Read more

How do you export an existing Kubernetes Deployment into a YAML or XML file?

Typically you import YAML files to create objects such as Deployments into a Kubernetes cluster. You can also list those objects using kubectl commands. But how can you export the details of a deployment (or other k8s objects) into a YAML or XML file? This would help with creating templates from existing objects, and also … Read more

Learning Kubernetes

So I am trying to learn Kubernetes on Azure so doing the tutorial: Problem is on the login step the command does not work: Log in to the container registry To use the ACR instance, you must first log in. Use the az acr login command and provide the unique name given to the … Read more

Deploying Kubernetes from scratch

Could someone share some good tutorials how to deploy kubernetes cluster on my own server. I do not wana use amazon,bigital ocean or linode. I have my proxmox server. So the ideal scenario will be 1 master and 3 slave nodes 4-th if its necessary. Ive watch some tutorials but still i would like to … Read more

trouble installing php-ldap on debian 9

I’m trying to install php-ldap on a mediawiki image that uses php:7.2-apache for my Kubernetes deployment. I’ve already ran apt-get update and tried adding the ppa. apt-get install php-ldap php7.3-ldap 7.3.4-1+0~20190412071350.37+stretch~1.gbpabc171 [Not candidate version] php7.2-ldap 7.2.17-1+0~20190412071344.20+stretch~1.gbp23a36d [Not candidate version] php7.1-ldap 7.1.28-1+0~20190412071216.17+stretch~1.gbpbe9b36 [Not candidate version] php7.0-ldap 7.0.33-6+0~20190412071436.12+stretch~1.gbp26747c [Not candidate version] php5.6-ldap 5.6.40-6+0~20190412071127.13+stretch~1.gbp7ce36b [Not candidate version] php7.3-ldap … Read more

What are the scalability strategies? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed 4 months ago. Improve this question What are the scalability strategies for an infrastructure in a cloud?, I need to prepare a scalability plan document for … Read more

I want to display the GUI of prometheus and grafana on kubernetes

prometheusによるkubernetesのクラスタ監視 Kubernetes Setup for Prometheus and Grafana The following comment was executed referring to kubectl apply \ –filename [root@instance-1 ~]# kubectl get pods –namespace=monitoring NAME READY STATUS RESTARTS AGE alertmanager-78cbf8f796-crk8k 1/1 Running 0 42m grafana-core-7f65444f84-2rg6q 1/1 Running 0 42m grafana-import-dashboards-h4bp5 0/1 Completed 0 42m kube-state-metrics-5f4c7f9d47-s2ndv 1/1 Running 0 42m node-directory-size-metrics-57lm5 2/2 Running 0 42m … Read more

Controlling access rights on PD that is shared between several Kubernetes services

I have a PD that is shared between two Kubernetes services. Once service runs a server application inside a container currently as root (I will probably change this to, say, user1), the other service runs Docker’s Postgres image as postgres. I would like to make sure that both root (eventually user1) and postgres have read-write … Read more