htpasswd설정 및 user권환 설정

#cat /etc/origin/master/master-config.yaml |grep htpasswd

name: htpasswd_auth
file: /etc/origin/master/htpasswd

htpasswd /etc/origin/master/htpasswd admin
암호 넣어줌

cat /etc/origin/master/htpasswd

oc login -u admin

oc login -u system:admin

'나는 노동자 > openshift-okd' 카테고리의 다른 글

All endpoints blocked  (0) 2020.06.23
openshift virtualbox port forwarding  (0) 2020.03.30
openshift network cni error발생시  (1) 2020.03.30

legato client agent설치시

libc.so.6 is needed by lgtoclnt-~
libc.so.6(GLIBC_2.0) is needed by
뭐 이런 에러(디펜선시)가 주저주저리
날땐

yum downgrade glibc glibc-common glibc-devel glibc-headers

yum install gcc

이렇게 하면 된다

아님 처음부터 yum install gcc를 해봐도 될듯

subscription-manager unregister

yum repolist 하면 등록된 레포 안나오고
yum repolist all 하면 나오는데 status부분이 disabled라고 나온다면

yum-config-manager —enable \*

요렇게 해보고 다시 yum repolist 해보자



for f in *.tar.gz; do
docker load < $f
done

sh ‘’’
git add Deployment.txt
git commit -m “updating deployment.txt”
git push http://id:pw@10.158.xxx.xxx:port/root/hello-world.git
‘’’

'나는 노동자 > Jenkins' 카테고리의 다른 글

wrap[$class: ‘BuildUser’]) error  (0) 2020.01.07
jenkins cleanWs()  (0) 2020.01.06
git clone username password  (0) 2019.12.18
gitlab 암호 잊어버렸을때  (0) 2019.11.13
Jenkins security login  (0) 2019.11.08

빌드시
build-user-vars-plugin 가 설치되었는데요
아래와 같은 에러가 발생할 경우

java.lang.UnsupportedOperationException: no known iplementation of class jenkins.tasks.SimpleBuildWrapper is named BuildUser~~
이런식의 에러가 발생할 경우 플러그인을 1.5버젼 이상으로 설치해야한다

mirrors.jenkins-ci.org/plugins/build-user-vars-plugin/1.5/

'나는 노동자 > Jenkins' 카테고리의 다른 글

Jenkins pipeline git push id password  (0) 2020.01.07
jenkins cleanWs()  (0) 2020.01.06
git clone username password  (0) 2019.12.18
gitlab 암호 잊어버렸을때  (0) 2019.11.13
Jenkins security login  (0) 2019.11.08

No such DSL method ‘cleanWs()’ found among steps [~
뭐 이런 에러가 빌드시 난다면

workspace cleanup plugin을 설치해야한다

updates.jenkins-ci.org/download/plugins/

에서 ws-cleanup을 다운로드 해서 넣어주거나

jenkins에서 플러그인 설치를 하면 된다

'나는 노동자 > Jenkins' 카테고리의 다른 글

Jenkins pipeline git push id password  (0) 2020.01.07
wrap[$class: ‘BuildUser’]) error  (0) 2020.01.07
git clone username password  (0) 2019.12.18
gitlab 암호 잊어버렸을때  (0) 2019.11.13
Jenkins security login  (0) 2019.11.08

#!/bin/sh # based on https://gist.github.com/ipedrazas/9c622404fb41f2343a0db85b3821275d # delete all evicted pods from all namespaces

kubectl get pods --all-namespaces | grep Evicted | awk '{print $2 " --namespace=" $1}' | xargs kubectl delete pod

# delete all containers in ImagePullBackOff state from all namespaces

kubectl get pods --all-namespaces | grep 'ImagePullBackOff' | awk '{print $2 " --namespace=" $1}' | xargs kubectl delete pod

# delete all containers in ImagePullBackOff or ErrImagePull or Evicted state from all namespaces

kubectl get pods --all-namespaces | grep -E 'ImagePullBackOff|ErrImagePull|Evicted' | awk '{print $2 " --namespace=" $1}' | xargs kubectl delete pod

'나는 노동자 > 이런저런 Tip' 카테고리의 다른 글

redhat subscription yum repo  (0) 2020.01.31
docker image load  (0) 2020.01.22
Jenkins failed job 무시하기  (0) 2019.12.18
absible playbook errors skip  (0) 2019.12.17
ansible Missing sudo password  (0) 2019.12.17

+ Recent posts