Yes that is a good option. It was just easier for me to have delete resource logic with a flag parameter for testing cycles. If to use this in real world scenarios, I would have removed the delete logic. Thanks for watching.
Hi Roy Very informative, Thank you. Would you have any insights into creating/deploying Azure Open AI service with couple of Model deployments, all using Azure CLI?
@RoyKimYYZ Thanks Roy, much appreciated. Not trying to be picky but was looking to do the same via the api as you have created storage account. No CLI, all in Code...
To call a CMD file inside a virtual machine from an Azure Function using a serverless plan, you can leverage Azure Hybrid Connections or Azure Logic Apps in combination with Azure Functions.
Thank you for the walk-through with this tutorial👌 I have a concern while we are copying data which is outbound transactions charges will be there right?
I think you mean service principal for the Service Connection for azure devops pipeline. Please read learn.microsoft.com/en-us/azure/devops/pipelines/library/connect-to-azure?view=azure-devops
@@RoyKimYYZ it's mean value came here rite...then encoded in k8s secrets...if so there is no use from key vault, basically we using this instead of encode to encrypt. K8s secret doing encode we can see it easily by "kubectl edit secret example-secret" and decode the value.
@@ramallways6321 If you are saying the secret is not encrypted when retrieved from key vault. Then yes you are right. Key vault encrypts the secret at rest in the the key vault. If you want the secret to be encrypted in k8s secret, I think you have to encrypt the secret as you store in key vault and decrypt it when the key vault provider mounts into the pod.
You have not told the way how to integrate Jmeter load testing with aks clusters. Working differently with jmeter and aks monitoring and insights is pretty simple and anyone who is familiar can do.
Cool, i only thought you could do this with a PowerShell Script. Although, it seems doing it like this from the Storage Explorer is 100x slower, if not more... But this is way more convenient. Thanks.
I have one question. Can you use AzureFile instead AzireDisk. What my understanding of azure disk is it on specific zone in region. And if pod gets scheduled on different zone and azure disk was on different zone and volume mount will fail. Some affinity error pops up. So i was assuming using AzureFile will be safe but with azure file i get error 2021-10-07 16:24:11+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.0.26-1debian10 started. 2021-10-07 16:24:11+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' 2021-10-07 16:24:11+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.0.26-1debian10 started. 2021-10-07T16:24:12.112496Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.0.26) starting as process 1 2021-10-07T16:24:12.194075Z 0 [Warning] [MY-000054] [Server] World-writable config file '/var/lib/mysql/auto.cnf' is ignored. 2021-10-07T16:24:12.201597Z 0 [Warning] [MY-010107] [Server] World-writable config file '/var/lib/mysql/auto.cnf' has been removed. 2021-10-07T16:24:12.204140Z 0 [Warning] [MY-010075] [Server] No existing UUID has been found, so we assume that this is the first time that this server has been started. Generating a new UUID: 0193c23c-278b-11ec-b484-bac051281b42. 2021-10-07T16:24:12.229193Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started. 2021-10-07T16:24:15.201780Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended. mysqld: Table 'mysql.plugin' doesn't exist 2021-10-07T16:24:15.621861Z 0 [ERROR] [MY-010735] [Server] Could not open the mysql.plugin table. Please perform the MySQL upgrade procedure. 2021-10-07T16:24:15.622346Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables 2021-10-07T16:24:15.622675Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables 2021-10-07T16:24:15.623006Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables 2021-10-07T16:24:15.623359Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables 2021-10-07T16:24:15.623673Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables 2021-10-07T16:24:15.624011Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables 2021-10-07T16:24:15.624320Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables 2021-10-07T16:24:15.724608Z 0 [Warning] [MY-010015] [Repl] Gtid table is not ready to be used. Table 'mysql.gtid_executed' cannot be opened. 2021-10-07T16:24:15.908874Z 0 [Warning] [MY-010015] [Repl] Gtid table is not ready to be used. Table 'mysql.gtid_executed' cannot be opened. 2021-10-07T16:24:15.929684Z 0 [Warning] [MY-013746] [Server] A deprecated TLS version TLSv1 is enabled for channel mysql_main 2021-10-07T16:24:15.929850Z 0 [Warning] [MY-013746] [Server] A deprecated TLS version TLSv1.1 is enabled for channel mysql_main 2021-10-07T16:24:15.930558Z 0 [Warning] [MY-013595] [Server] Failed to initialize TLS for channel: mysql_main. See below for the description of exact issue. 2021-10-07T16:24:15.930738Z 0 [Warning] [MY-010069] [Server] Failed to set up SSL because of the following SSL library error: SSL context is not usable without certificate and private key mysqld: Cannot change permissions of the file 'private_key.pem' (OS errno 1 - Operation not permitted) 2021-10-07T16:24:15.993035Z 0 [ERROR] [MY-010295] [Server] Could not set file permission for private_key.pem 2021-10-07T16:24:15.993613Z 0 [ERROR] [MY-010119] [Server] Aborting 2021-10-07T16:24:17.420427Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld: Shutdown complete (mysqld 8.0.26) MySQL Community Server - GPL.
No. Only OS disk copied to another region and from that OS disk new VM is created so if you want data disk then you need to copy it to another region, just like OS disk
Awesome presentation Kim! I am a Regional Director in an IT Recruiting and Consulting firm (JSG) in Toronto, I will share within my IT network, very useful for anyone or beginners.
Thanks for watching. I make sure to load balance your pod replicas with services and have autoscaling with HPA. Helps with customers being happy with a performant app. ;)
I would put Java is bit out of my scope of knowledge and interest. But let me know any other questions or inquiries and I'll do my best. Appreciate your support.
AKS sometimes has issues releasing the disk. For a DB/cluster, i'd recommend using a statefulset since it is ordered for the operations. There is a github issue about this that was closed, but people still experiencing the issue, including me. Still a great video explaining :)
You mean the multi-attach error to the PVC? Yes statefulset is ideal for data driven architectures. I had a grafana deployment that needed to be rollout restarted. New pod had the error while old pod still had was attached to the managed disk/PV. So to resolve it, I had to scale down to 0 and scale back up to 1. Thanks for watching. Working on some more videos.