openshift_master_admission_plugin_config
openshift/openshift-ansible#7983
systemctl restart atomic-openshift-master-api atomic-openshift-master-controllers
systemctl start origin-master-api origin-master-controllers
FROM centos | |
LABEL firstLabel="help" \ | |
secondLabel="help" \ | |
thirdLabel="help" \ | |
fi2rstLabel="help" \ | |
se2condLabel="help" \ | |
th2irdLabel="help" \ | |
f22irstLabel="help" \ | |
s22econdLabel="help" \ |
openshift_master_admission_plugin_config
openshift/openshift-ansible#7983
systemctl restart atomic-openshift-master-api atomic-openshift-master-controllers
systemctl start origin-master-api origin-master-controllers
-----BEGIN CERTIFICATE----- | |
MIIcRjCCGy6gAwIBAgIIRyqDmscket0wDQYJKoZIhvcNAQELBQAwVDELMAkGA1UE | |
BhMCVVMxHjAcBgNVBAoTFUdvb2dsZSBUcnVzdCBTZXJ2aWNlczElMCMGA1UEAxMc | |
R29vZ2xlIEludGVybmV0IEF1dGhvcml0eSBHMzAeFw0xODA1MTUyMDQxMDFaFw0x | |
ODA4MDcxOTUzMDBaMGkxCzAJBgNVBAYTAlVTMRMwEQYDVQQIDApDYWxpZm9ybmlh | |
MRYwFAYDVQQHDA1Nb3VudGFpbiBWaWV3MRMwEQYDVQQKDApHb29nbGUgTExDMRgw | |
FgYDVQQDDA9taXNjLmdvb2dsZS5jb20wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAw | |
ggEKAoIBAQChpQDV2nzv672cubqyG09qUbmNgrShxZaC2wloL8k9eAAgN2Ky19z4 | |
H/ZpQF+ucD8BJVnpa9tvne67UWjOFTVXEUogfLa0auNrI7TESipAYXiPsPAgHlA+ | |
aYFrkdLrxt+HvmyolFsTlE1mHK1WCAweSZKi88EZ5j+dWYMvFTI5/UF0nv0GbNoC |
- How create webhooks https://github.com/kubernetes/website/pull/6836/files | |
- https://kubernetes.io/docs/reference/access-authn-authz/extensible-admission-controllers/#enable-external-admission-webhooks | |
- https://ahmet.im/blog/initializers/ | |
- https://github.com/kubernetes/kubernetes/tree/release-1.9/test/images/webhook | |
apiVersion: admissionregistration.k8s.io/v1beta1 | |
kind: ValidatingWebhookConfiguration | |
metadata: | |
name: test | |
webhooks: |
Docker Swarm
Swarm manager (N+2 for qurom) Docker daemon and discovery service . Just one no fault tolerance Swarm workers (1 to N)
Installation yum install -y yum-utils device-mapper-persisten-data lvm2 yum-config manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
Configuration file with the admissionConfig
vi /openshift.local.config/master/master-config.yaml
Pod Selector feature shows how configure https://docs.openshift.com/container-platform/3.9/admin_guide/scheduling/pod_placement.html#constraining-pod-placement-nodeselector
Example of webhook https://github.com/openshift/kubernetes-namespace-reservation
Webhook in minikube kubernetes/minikube#1264
oc new-build https://github.com/judavi/docker-pipeseroni | |
oc new-build https://github.com/judavi/OpenshiftPlayground/ | |
./oc start-build openshiftplayground --build-arg foo=leemon | |
oc edit buildconfigs/docker-pipeseroni |
https://adam.younglogic.com/2017/08/docker-without-sudo-on-centos-7/ | |
https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux_OpenStack_Platform/2/html/Getting_Started_Guide/ch02s03.html | |
https://askubuntu.com/questions/79565/how-to-add-existing-user-to-an-existing-group | |
https://www.cyberciti.biz/faq/linux-list-all-members-of-a-group/ |
2018-02-07 11:25:34,338 3552 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by '' | |
2018-02-07 11:32:28,159 9148 [INFO ] - Chocolatey v0.10.8 | |
2018-02-07 11:32:28,193 9148 [DEBUG] - Chocolatey is running on Windows v 10.0.14393.0 | |
2018-02-07 11:32:28,198 9148 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old". | |
2018-02-07 11:32:28,201 9148 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old". | |
2018-02-07 11:32:28,232 9148 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" install jdk8 --proxy=xxxxxxxx --confirm --log-file C:\pepe.txt -vd | |
2018-02-07 11:32:28,234 9148 [DEBUG] - Received arguments: install jdk8 --proxy=xxxxxxxxxx--confirm --log-file C:\pepe.txt -vd | |
2018-02-07 11:32:28,306 9148 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage. | |
2018-02-07 11:32:28,404 9148 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribe |