openshift-enterprise

custom metrics for horizontal pod autoscaler in OpenShift

纵饮孤独 提交于 2019-12-01 00:58:39
I am using openshift v3 which uses kubernetes version 1.2. I am exploring more on autoscaling feature. Currently it says only CPU metrics is supported. Is there a way pods in openshift can be scaled based on memory or other metrics data collected from heapster? As you mentioned: OpenShift v3 is using multiple components of Kubernetes. The official documentation of Kubernetes and openshift are talking about autoscaling on CPU. (Kubernetes 1.2 adds alpha support for scaling based on application-specific metrics like QPS). Autoscaling on memory wasn't released in the initial version of horizontal

rhc ssh [No system SSH available] error

六眼飞鱼酱① 提交于 2019-11-30 05:25:35
I want view my openshift application log in my cmd. I did try : rhc ssh appname that time i am getting: No system SSH available. Please use the --ssh option to specify the path to your SSH executable, or install SSH. My system have already ssh key.so how can i solve that problem? You need to make sure: you are in a cmd session where HOME is define (type set HOME to check its value: it must be C:\Users\yourLogin , because ssh needs to look for keys in %HOME%\.ssh ) your ssh.exe parent folder is referenced in the %PATH% , or you can type: rhc ssh -ssh "c:\prgs\git\PortableGit-2.8.3-64-bit\usr