VirtualTam's bookmarks
116 bookmarks found
-
Kubernetes plugin and examples:
Kubernetes pipeline plugin:
- https://github.com/jenkinsci/kubernetes-pipeline-plugin
- https://jenkins.io/doc/pipeline/steps/kubernetes-pipeline-steps/
Relevant issues:
- https://issues.jenkins-ci.org/browse/JENKINS-48135 - Multiple containers in declarative pipelines
- https://issues.jenkins-ci.org/browse/JENKINS-51353 - Request for volumes in declarative pipelines
Persisting volumes:
- https://kubernetes.io/docs/concepts/storage/persistent-volumes/
- https://cloud.google.com/kubernetes-engine/docs/concepts/persistent-volumes
- https://devopscube.com/persistent-volume-google-kubernetes-engine/
- http://www.monkeylittle.com/blog/2017/02/08/adding-persistent-volumes-to-jenkins-with-kubernetes-volumes.html
- https://stackoverflow.com/questions/48068973/volume-mounting-in-jenkins-on-kubernetes
Declarative pipelines with YAML spec:
- https://github.com/jenkinsci/kubernetes-plugin/blob/master/examples/declarative-multiple-containers.groovy
- https://stackoverflow.com/questions/47470498/how-to-define-multiple-containers-in-declarative-pipeline
Scripted pipelines:
XML (!):
-
Scaling Docker with Kubernetes
2018-09-13 - https://github.com/jenkinsci/kubernetes-plugin
- https://github.com/jenkinsci/kubernetes-plugin/tree/master/examples
- https://issues.jenkins-ci.org/browse/JENKINS-48421
- https://www.blazemeter.com/blog/how-to-setup-scalable-jenkins-on-top-of-a-kubernetes-cluster
- https://stackoverflow.com/questions/49988038/declarative-jenkins-pipeline-use-existing-kubernetes-pod-template
-
- https://brandonwamboldt.ca/understanding-the-php-fpm-status-page-1603/
- http://www.gregfreeman.io/2016/how-to-connect-to-php-fpm-directly-to-resolve-issues-with-blank-pages/
- https://www.thatsgeeky.com/2012/02/directly-connecting-to-php-fpm/
- https://easyengine.io/tutorials/php/fpm-status-page/
$ SCRIPT_NAME=/status \ SCRIPT_FILENAME=/status \ QUERY_STRING=json \ REQUEST_METHOD=GET \ cgi-fcgi -bind -connect /var/run/php/php7.0-fpm.sock \ | grep '{' \ | jq '.'
-
Extension with Compose format 3.4+:
- https://github.com/moby/moby/issues/31101
- https://github.com/docker/compose/issues/4315
- https://github.com/docker/cli/pull/452
- https://github.com/docker/compose/pull/5140
- https://stackoverflow.com/questions/45279662/extend-service-in-docker-compose-3
Inheritance through YAML anchors:
-
Træfik options:
- https://docs.traefik.io/configuration/backends/docker/
- https://docs.traefik.io/configuration/commons/
Relevant backend labels:
traefik.port
traefik.docker.network
traefik.backend.loadbalancer.method
traefik.backend.loadbalancer.stickiness
Examples:
Gateway timeout and overlay network setup:
-
NPM, Yarn and private repositories
2018-06-08 Hosting private repositories and using them in CI/CD:
- https://docs.npmjs.com/private-modules/intro
- https://docs.npmjs.com/private-modules/ci-server-config
- https://docs.npmjs.com/private-modules/docker-and-private-modules
Threads:
- https://stackoverflow.com/questions/45191189/nexus-manager-npm-401-unauthorized
- https://stackoverflow.com/questions/40845598/how-do-i-use-multiple-npm-registries-in-yarn
- https://github.com/yarnpkg/yarn/issues/606
- https://github.com/yarnpkg/yarn/pull/839
- https://github.com/yarnpkg/yarn/pull/871
- https://github.com/yarnpkg/yarn/issues/4451
- https://github.com/yarnpkg/yarn/issues/4862
- https://github.com/npm/npm/issues/16528
Articles:
node-sass binaries:
- https://github.com/sass/node-sass#binary-configuration-parameters
- https://github.com/sass/node-sass/releases
- https://github.com/sass/node-sass/issues/1466
- https://github.com/sass/node-sass/issues/1554
- https://github.com/sass/node-sass/issues/1635
- https://github.com/sass/node-sass/issues/1991
- https://github.com/sass/node-sass/issues/2115
- https://github.com/sass/node-sass/issues/2361
- https://stackoverflow.com/questions/40178767/is-it-possible-to-install-node-sass-without-downloading-from-github-during-the-p
-
Miller columns
2018-05-30 DFileManager:
ElementaryOS' Pantheon Files (Marlin fork):
- https://launchpad.net/pantheon-files
- https://wiki.archlinux.org/index.php/Pantheon
- https://www.noobslab.com/2013/11/marlin-file-manager-for-ubuntu.html
- https://www.noobslab.com/2014/09/marlin-file-manager-is-now-available.html
- https://www.noobslab.com/2014/03/elementary-os-file-manager-pantheon.html
Misc:
-
-
- https://forum.manjaro.org/t/new-kernel-4-16-causes-display-flashes-on-amd-r9-3xx-tonga/44302/13
- https://bugzilla.kernel.org/show_bug.cgi?id=199407
- https://www.reddit.com/r/archlinux/comments/7vxnam/redshift_flickering_display_after_415_kernel/
- https://www.phoronix.com/scan.php?page=news_item&px=AMDGPU-DC-Pull-Request-4.15
- https://github.com/jonls/redshift/issues/221
-
Vagrant and VirtualBox "NAT Network" adapter
2018-04-27 - https://github.com/hashicorp/vagrant/issues/2779
- https://github.com/hashicorp/vagrant/issues/6252
- https://github.com/hashicorp/vagrant/issues/7635
- https://www.virtualbox.org/manual/ch06.html
- https://www.vagrantup.com/docs/virtualbox/networking.html
- https://superuser.com/questions/1155262/network-interface-available-only-when-running-vm-through-virtualbox-but-not-thr
- https://unix.stackexchange.com/questions/29999/why-are-my-two-virtual-machines-getting-the-same-ip-address
-
Here are the steps I used to migrate a CentOS 7 VM from (presumably?) an ESXi server, to a local VirtualBox environment.
The LVM volumes were not detected at boot, and after the boot timeout, the OS fell back to the Dracut emergency shell.
- get a CentOS minimal installation CD
- check the VM's resources and peripherals:
- ensure there are no floppy drives (!)
- setup CPU and RAM resources
- check virtual drives
- add an SCSI optical drive if needed
- optional: convert the virtual drive images from VMDK to VDI
- mount the CentOS installation disc
- boot on the installation disc:
- select "Troubleshooting", then "Rescue"
- let the rescue utility detect filesystems and mountpoints
$ chroot
to the detected environment- backup files:
/etc/fstab
/boot/grub/grub.cfg
- under /boot, backup the initrd and initramfs for the current configuration (these will be overwritten)
- compare the current
/etc/fstab
with the output of$ lsblk
and$ blkid
- if needed, manually edit /etc/fstab to use the appropriate block device UUIDs, identifiers and mountpoints
- regenerate GRUB configuration:
$ grub2-mkconfig -o /boot/grub2/grub.cfg
- if needed, reinstall GRUB:
$ grub-install /dev/sda
- rebuild initrd:
$ mkinitrd --force /boot/<initrd_image> <kernel_version>
- rebuild initramfs:
$ dracut --force <kernel_version>
- exit the chroot
- unmount the installation disc
- reboot
- optional but highly recommended: cross your fingers
- ...
- profit!
-