Thoughts, stories and ideas about Symfony, PHP, AWS, Docker, Kubernetes
expose: - 9000 Remove theports:section fromdocker-compose.yml and define exposeOn the remote machine enableGatewayPorts clientspecifiedin/etc/ssh/sshd_config(then restart the sshd service).This allows you to create an SSH port forward tunnel which lis
Do not forget to disconnect from internet before you open developer tools! otherwise that page will ban you! Open file manual page that you want to download, confirm bot protection from CloudFlare and load inpage PDF VIEWer. Disconnect from internet and o
root@:/etc/rancher/rke2# sudo systemctl status rke2-agent rke2-agent.service - Rancher Kubernetes Engine v2 (agent) Loaded: loaded (/usr/local/lib/systemd/system/rke2-agent.service; enabled; vendor preset: enabled) Active: activating (auto-rest
Buy mSata SSD disk and plug into your Turris and configure it via Reforris as /srv mount Apend this lines into /etc/php8-fpm.d/www.conf and create /srv/tmp/ folder with write all permissionsphp_admin_value[error_log] = /var/log/fpm-php.www.log php_admin_f
I have spend lots of time to investigate what the problem is and I found it!Take a look inside your docker-compose.yml and double check, that you are not propagating .git folder inside the docker container! Now your app will be faster than before node:
You should build it from source code FROM php:8.2-fpm-alpine AS ext-apcu ENV EXT_APCU_VERSION=master RUN curl -vvv https://github.com/krakjoe/apcu.git RUN docker-php-source extract \ && apk -Uu add git \ && git clone --branch $E
kubectl apply -f --namespace=app deployment.yaml deployment.yaml apiVersion: apps/v1 kind: Deployment metadata: labels: workload.user.cattle.io/workloadselector: apps.deployment-sitemaps name: sitemaps spec: progressDeadlineSeconds: 10 replica
local-storage Boundkubectl apply -f values.yaml values.yaml # Only create this for K8s 1.9+ apiVersion: storage.k8s.io/v1 kind: StorageClass metadata: name: local-storage provisioner: kubernetes.io/no-provisioner volumeBindingMode: WaitForFirstConsumer
$ kubectl apply -f pvc.yaml --- kind: Namespace apiVersion: v1 metadata: name: mariadb-galera-new --- apiVersion: v1 kind: PersistentVolume metadata: name: mariadb-galera-new-pv namespace: mariadb-galera-new spec: storageClassName: manual # moun
You have to modify chart metadata and add two annotations: catalog.cattle.io/ui-source-repo: jetstack and catalog.cattle.io/ui-source-repo-type: cluster You can modify annotations in API viewAnd VOILA!
I have Lenovo T460s with Intel i7 6600u and wQHD LCD 2560x1440. There is some short on mainboard and LCD will not turn on. External HDMI monitor works. I tried repair service and they did not fix it.After 2years I found this repair video, so I disassemble
Error: UPGRADE FAILED: current release manifest contains removed kubernetes api(s) for this kubernetes version and it is therefore unable to build the kubernetes objects for performing the diff. error from kubernetes: unable to recognize : no matches fo
After RKE2 upgrade you will lost your rke2-ingress-nginx-controller config values.Define this HelmChartConfig and your setup will be used every time, when you upgrade RKE2. More info about config in official documentation.apiVersion: helm.cattle.io/v1 kin
If you recreate server with the same name that has been already joined in your cluster, you will end up with this error message.WARN[0000] not running in CIS mode INFO[0000] Starting rke2 agent v1.21.3+rke2r1 (2ed0b0d1b6924af4414393cd1796c174a1ff5352) INF