I will comment on the tasks performed and then indicate the problem that occurs to me.
Previously to the following steps I have started from a Dockerfile that I have verified locally that works and starts the container.
The container must run on a Kubernetes Cluster in Azure (AKS).
1.- I have compiled a customized image through Visual Studio Team Services. Result OK. 2.- I realize the release or deploy in VSTS adding phases of deployment by means of configuration files yaml. Result OK.
By connecting to the Kubernetes panel, I can verify that Namespaces, Storage Class, Persistent Volumes, Persist Volume Claims, Secrets, Service are created and without error.
My surprise comes when I see the following error in the kubernetes panel, in the deployment area:
(combined from similar events): MountVolume.SetUp failed for volume "persistent volume name": mount failed: exit status 1 Mounting command: systemd-run Mounting arguments: --description = Kubernetes transient mount for / var / lib / kubelet / pods / a254a9a2-92ba-11e8-b8b9-5e1d4bbba946 / volumes / kubernetes.io ~ azure-file / persistent volume name --scope - mount -t cifs -o file_mode = 0777, uid = 1000 , gid = 1000, dir_mode = 0777, username = name of the Azure Storage Account, password = % !! (MISSING) D (MISSING) aX KV j t3 LAj c 7j * V z ct A Sj ʱ, vers = 3.0 // name Azure Storage Account.file.core.windows.net/name of the share in Azure File Storage / var / lib / kubelet / pods / a254a9a2-92ba-11e8-b8b9-5e1d4bbba946 / volumes / kubernetes.io ~ azure-file / persistent volume name Output: Running scope as unit run-r9bf7a6465d17428b8ef1e943a56ce677.scope. mount error: could not resolve address for volume name persistent.file.core.windows.net: Unknown error
Has this happened to someone else?
I am blocked in this part and I can not start the container.
Greetings