Created
December 28, 2016 19:44
-
-
Save BruceZu/71a80acd2b416c20030e6ef247148d7e to your computer and use it in GitHub Desktop.
bugzilla
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| bugzilla | |
| select image | |
| how to deploy the image | |
| how to vaidate it after deployment |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
1 Select image:
reference the discuss
(if need try dev version later need translate the command of docker-compose to kubectl)
klawren/docker-bugzilla image
version: default is latest
This image has a TODO
2 How to deploy on docker image on k8s reference
need resolve:
1 what is the equipment option in k8s command
kubectl runorkubectl createwithdocker runcommand the option--privilegedor how to carryout this function in k8s as that in docker.
ways:
issues 391 and 6530
k8s document
also find some case after search from github see link
case1 case2
? cannot it be specified on deployment. only limited to pod?
? is this must option?
2 ports : which one? 2 or 3
in docker it is
<host port >: <container port>see link
with a yaml file
kubectl create -f bugzilla.yaml# kubectl expose pod bugzilla --type=NodePortcheck svc port
3 validate
see logs
login the container to
[root@bugzilla /]# curl http://localhost/bugzilla/http://10.145.101.61:30399/bugzilla/ the home page works
the home page works and I can login with username is [email protected] and the password is password.
Seems the sshd can not work.
later I find the
kube-dns issue related error
Bugzilla can not update
The remote file http://updates.bugzilla.org/bugzilla-update.xml cannot be downloaded (reason: 500 Can't connect to updates.bugzilla.org:80).Try to install SSL ( see link ) failed with
I get in the container and from the dockerfile I know it is CentOS 7
Add a DNS server
Retry try to install SSL. Done