Hi, it is have a very simle solution. You can just remove package-lock.json file and node_modules folder and reinstalling modules with npm install. It because changing node version with nave etc..
2 Kasım 2018 Cuma
26 Ekim 2018 Cuma
solving rancher 2.x setting default storageclass failure on gui
Hi everyone,
If you using rancher 2.x for kubernetes and and nfs-provisioner for storageclass and you cannot set nfs as your default storageclass you have to set this via kubectl.
You can do this by running this command in your main system.
kubectl patch storageclass nfs -p '{"metadata": {"annotations":{"storageclass.kubernetes.io/is-default-class":"true"}}}'
If you getting an error like cannot connect host:8080 you must run kubectl with --kubeconfig param that resolves your kube_config_cluster.yml.
example usage:
kubectl patch storageclass nfs -p '{"metadata": {"annotations":{"storageclass.kubernetes.io/is-default-class":"true"}}}' --kubeconfig=~/kube_config_cluster.yml
You also can add kube_config_cluster.yml as KUBECONFIG environment value by
export KUBECONFIG=/path/to/kube_config_cluster.yml
or adding in /etc/environment file for persistent usage.
If you using rancher 2.x for kubernetes and and nfs-provisioner for storageclass and you cannot set nfs as your default storageclass you have to set this via kubectl.
You can do this by running this command in your main system.
kubectl patch storageclass nfs -p '{"metadata": {"annotations":{"storageclass.kubernetes.io/is-default-class":"true"}}}'
If you getting an error like cannot connect host:8080 you must run kubectl with --kubeconfig param that resolves your kube_config_cluster.yml.
example usage:
kubectl patch storageclass nfs -p '{"metadata": {"annotations":{"storageclass.kubernetes.io/is-default-class":"true"}}}' --kubeconfig=~/kube_config_cluster.yml
You also can add kube_config_cluster.yml as KUBECONFIG environment value by
export KUBECONFIG=/path/to/kube_config_cluster.yml
or adding in /etc/environment file for persistent usage.
25 Ekim 2018 Perşembe
Failed to list *v1alpha1.Certificate: the server could not find the requested resource (get certificates.certmanager.k8s.io)
Hi everone, if you getting an error like "Failed to list *v1alpha1.Certificate: the server could not find the requested resource (get certificates.certmanager.k8s.io)" in kube-system cert-manager pod's log you just have to install cert-manager catalog app into kube-system namespace in system project.
24 Ekim 2018 Çarşamba
kubernetes in container dns resolution problems with flannel vxlan backend
You can change net backend type vxlan to host-gw if you are using a ovh or kimsufi server and you don't sure server's vxlan support and docker containers outgoing connections fails because name resolution. I am using rancher and kubernetes and i changed my net-conf.json config from canal-config configmap.
Change
net-conf.json
|
to
net-conf.json
|
10 Eylül 2018 Pazartesi
Program.cs(15, 28): [CS0017] Program has more than one entry point defined. Compile with /main to specify the type that contains the entry point.
Hi,
If you getting error after adding after adding Microsoft.NET.Test.Sdk Nuget package to project reference you can just add
<GenerateProgramFile>false</GenerateProgramFile>
property in Project PropertyGroup in your .csproj file like screenshot. This will prevent multiple Main function conflict error.
7 Eylül 2018 Cuma
controller.cs is not found among the loaded symbol documents rider on linux
Hi guys, If you getting "not found among the loaded symbol documents" error on your .net core linux development environment probably you added "run watch" parameter to runtime arguments to your run configuration. Remove the argument from configuration and restart Rider with invalidate caches option.
1 Eylül 2018 Cumartesi
Error on connection registry.npmjs.org via npm update
Hi guys, if you get an error like below on npm update. You can set npm strict-ssl false on terminal by typing
npm config set strict-ssl false
Hostname/IP does not match certificate's altnames: Host: registry.npmjs.org. is not in the cert's altnames: DNS:a.sni.fastly.net, DNS:a.sni.global-ssl.fastly.net
26 Temmuz 2018 Perşembe
Resolving Kubernetes Pod has unbound PersistentVolumeClaims Error
Hi guys, I found a problem with volume configuration error during kubernetes container initialization. I tried a lot of way to solve this problem such as creating longhorn provisioner and local path and node but these ways didn't resolve problem on initialization. I used nfs-server-provisioner catalog app for helm and i see a new storage class named nfs. I remove my another storage classes to force new apps to use this storage class. This worked like a charm! Now i can install all of catalog apps without any persistence and volume based problem.
21 Temmuz 2018 Cumartesi
rancher kubernetes Failed to make shared /var/lib/rancher/volumes: invalid argument error
Hi,
If you downgrade rancher 2.0 to 1.x and getting this error with kubernetes you can just reboot physical server:)
If you downgrade rancher 2.0 to 1.x and getting this error with kubernetes you can just reboot physical server:)
20 Temmuz 2018 Cuma
curl: (35) gnutls_handshake() failed: Error in the pull function error on docker installation
Hi everyone,
If you get curl: (35) gnutls_handshake() failed: Error in the pull function. error on docker installation and if you removed older and fewer versions before you just have to remove old ppa from your hosts /etc/apt/sources.list
For do this open /etc/apt/sources.list with vi, nano etc. and comment all deb source lines by adding # character to start of line. You can also see example of comment in file.
After remove or comment source you have to apt-get update to apply changes and you can install docker version what if you want!
good luck
If you get curl: (35) gnutls_handshake() failed: Error in the pull function. error on docker installation and if you removed older and fewer versions before you just have to remove old ppa from your hosts /etc/apt/sources.list
For do this open /etc/apt/sources.list with vi, nano etc. and comment all deb source lines by adding # character to start of line. You can also see example of comment in file.
After remove or comment source you have to apt-get update to apply changes and you can install docker version what if you want!
good luck
7 Haziran 2018 Perşembe
spdx-licenses.json - failed to open stream: No such file or directory
Hi,
For solve this error you have to create a symlink in /usr/share
cd /usr/share
ln -s php/data .
For solve this error you have to create a symlink in /usr/share
cd /usr/share
ln -s php/data .

