投稿時間:2022-05-04 07:14:34 RSSフィード2022-05-04 07:00 分まとめ(18件)

カテゴリー等 サイト名等 記事タイトル・トレンドワード等 リンクURL 頻出ワード・要約等/検索ボリューム 登録日
AWS AWS Break an Existing Monolith ASP.NET Application Into Independent Services | Amazon Web Services https://www.youtube.com/watch?v=X2X570Krgo4 Break an Existing Monolith ASP NET Application Into Independent Services Amazon Web ServicesIn this session we will show how AWS Microservice Extractor for NET simplifies the process of refactoring applications into independent services Presented by Atul Sharma Learn more about Modernize Windows Workloads with AWS at Subscribe More AWS videos More AWS events videos ABOUT AWSAmazon Web Services AWS is the world s most comprehensive and broadly adopted cloud platform offering over fully featured services from data centers globally Millions of customers ーincluding the fastest growing startups largest enterprises and leading government agencies ーare using AWS to lower costs become more agile and innovate faster ApplicationModernization AWS AmazonWebServices CloudComputing 2022-05-03 21:26:21
AWS AWS Port .NET applications from .NET Framework to .NET Core | Amazon Web Services https://www.youtube.com/watch?v=uwcKzmN31uc Port NET applications from NET Framework to NET Core Amazon Web ServicesLearn about Porting Assistant for NET as an analysis tool that scans NET Framework applications and generates a NET Core compatibility assessment helping you port your applications to cloud native services faster Presented by Steven David Learn more about Modernize Windows Workloads with AWS at Subscribe More AWS videos More AWS events videos ABOUT AWSAmazon Web Services AWS is the world s most comprehensive and broadly adopted cloud platform offering over fully featured services from data centers globally Millions of customers ーincluding the fastest growing startups largest enterprises and leading government agencies ーare using AWS to lower costs become more agile and innovate faster ApplicationModernization AWS AmazonWebServices CloudComputing 2022-05-03 21:15:47
海外TECH Ars Technica Gear from Netgear, Linksys, and 200 others has unpatched DNS poisoning flaw https://arstechnica.com/?p=1852022 malicious 2022-05-03 21:15:39
海外TECH MakeUseOf How to Dodge and Burn With Lines in Photoshop https://www.makeuseof.com/photoshop-dodge-and-burn-with-lines-how-to/ dimensional 2022-05-03 21:45:14
海外TECH MakeUseOf What Is Honeygain? Is It Legit? How It Works and What You Need to Know https://www.makeuseof.com/earn-passive-income-using-internet-connection/ bandwidth 2022-05-03 21:30:14
海外TECH DEV Community Qu'est-ce Kustomize ? https://dev.to/mxglt/quest-ce-kustomize--dai Qu x est ce Kustomize Quand on débute sur Kubernetes et qu on utilise des fichiers de configuration en YAML généralement on crée les fichiers un par un en utilisant la commande suivantekubectl apply f lt file gt Puis plus tard on découvre que l on peut utiliser la même commande avec un dossier pour créer l ensemble des éléments définis dedans kubectl apply f lt folder gt Cependant quand on commence àdéployer les éléments dans différents environnements on se trouve rapidement embêtécar on doit changer les configs manuellement avant de déployer dans l environnement voulu C est pour cela que dans ces cas làon commence àutiliser des outils afin de pouvoir générer modifier dynamiquement des templates Aujourd hui nous allons parler de l un d entre eux Kustomize Qu est ce que Kustomize Kustomize est un outil de gestion de configuration intégrédans Kubernetes Par conséquent si vous avez kubectl de présent sur votre machine vous pouvez l utiliser dès maintenant Contrairement àHelm il ne s agit pas d un outil de templating mais bien d un outil de gestion de configuration Pour donner un exemple rapide pour comparer les deux outils Helm va avoir un template comme suit et l utilisateur va pouvoir définir chacune des variables comme bon lui semble apiVersion apps vkind Deploymentmetadata name the deploymentspec replicas template containers name Values containerName image Values containerImage Ici l utilisateur peut donc facilement redéfinir le nom du container et son image Cependant il ne pourra pas modifier le nombre de replicas Helm une fois appelé va donc générer le fichier yaml àpartir de ce template et des valeurs données par l utilisateur Kustomize lui permet àl utilisateur de surcharger n importe quelle valeur de la configuration de base On va voir un peu plus tard comment Avant d aller plus loin voici le contexte dans lequel les exemples seront kubernetes application deployment yaml configmap yamldeployment yamlapiVersion apps vkind Deploymentmetadata name my deploymentspec replicas template containers name my container image ubuntu latest env name TEST value TOTO volumeMounts name config volume mountPath configs volumes name config volume configMap name example configconfigmap yaml apiVersion v kind ConfigMap metadata name example config namespace example data config json environment test Comment fonctionne Kustomize Pour pouvoir fonctionner Kustomize se base sur un fichier kustomization yaml qui doit se trouver dans le dossier cible de la commande BaseDans notre contexte ajoutons dans le dossier application le fichier kustomization avec le contenu suivantresources deployment yaml configmap yamlDans cet exemple on indique àKustomize quels sont les fichiers de configurations que l on souhaite appliquer quand ce fichier kustomization est appelé Ce dossier devient alors notre base pour l ensemble des futures configurations Par conséquent si nous utilisons l une des commandes suivantes nous allons générer le déploiement et la configmap telles que définies dans les fichiers YAML Génère le yaml avec toutes les configs avant de les appliquerkubectl kustomize kubernetes application kubectl apply f Ou Applique directement les configs généréeskubectl apply k kubernetes application CustomisationMaintenant que l on a notre base on va pouvoir créer nos configurations customisées pour chacun des environnements que l on a Dans le dossier kubernetes nous allons maintenant créer un dossier environments dans lequel nous allons créer deux nouveaux dossiers dev et prod Correspondant ànos environnements puis créer un fichier kustomization yaml dans dev et prod Dans chacun de ces fichiers nous allons ajouter le code suivantbases applicationCette configuration va permettre de définir quelle est la configuration de base que l on va utiliser pour nos customisations Ici les configurations du dossier application définies plus tôt Donc si on utilise la même commande que précédemment mais en ciblant le dossier de l environnement souhaité on sera capable de créer les éléments définis dans la base kubectl kustomize kubernetes environments dev kubectl apply f Oukubectl apply k kubernetes environments dev Modifications possiblesEn fouillant dans la documentation de Kustomize vous pourrez voir l ensemble des éléments possibles mais ici on va regarder les éléments principaux PatchUn patch dans Kustomize est un fichier qui va contenir une configuration partielle d un composant ayant pour but de surcharger la configuration de base Par exemple en production nous souhaitons augmenter le nombre de pods dans le déploiement et définir les ressources qu un pod peut utiliser On va alors créer les deux fichiers suivants dans le dossier prod replica count yaml Note Le nom n a pas d importance il pourrait s appeler toto yaml que ça fonctionnerait aussi très bien apiVersion apps vkind Deploymentmetadata name my deployment Avec le nom on vient préciser sur quel déploiement on souhaite agirspec replicas Définition du nombre de pods pour la production resources yamlapiVersion apps vkind Deploymentmetadata name my deploymentspec template containers name my container resources requests memory Mi cpu m limits memory Mi cpu m Ensuite pour qu ils soient bien définis comme étant des patches il faut ajouter le bloc suivant dans le fichier kustomization yaml du dossier prod patches replica count yaml resources yamlOn y retrouve donc les deux fichiers contenant des configurations que l on veut remplacer Patch stratégique de fusionDans certains cas on ne souhaite pas remplacer le contenu d une liste on souhaite ajouter une valeur dans la liste Dans ce cas il faut utiliser un patchesStrategicMerge Par exemple si je veux ajouter une variable d environnement pour mon container il faudrait que je crée le fichier suivant dans prodenv yamlapiVersion apps vkind Deploymentmetadata name my deploymentspec template containers name my container env name ENVIRONMENT value Productionpuis que j ajoute le bloc suivant dans kustomization yamlpatchesStrategicMerge env yamlDans notre exemple le container en production va donc avoir deux variables d environnement TEST TODOENVIRONMENT Production GénérateursDans Kustomize il existe des paramètres qui permettent de générer dynamiquement des configmaps et des secrets Les deux sont très similaires et on va se focaliser sur la génération de configmap pour notre exemple configMapGenerator name example config namespace example behavior replace files configs config jsonDans l exemple précédent du bloc se trouvant dans le fichier kustomization yaml une configmap example config sera créée dans le namespace example àpartir du fichier configs config json En commenté on voit le paramètre behavior que l on peut définir pour remplacer le contenu d une configmap créée dans la configuration de base ImagesLe dernier bloc que l on va voir aujourd hui est celui pour mettre àjour des paramètres associés aux images utilisées Exemple de définition dans kustomization yamlimages name hello world newTag linux newName ubuntu Dans cet exemple on trouve champs name qui permet d aller récupérer toutes les images définies dans la base ayant cette image newTag qui permet de redéfinir la version de l image àutiliser S applique sur toutes les images ayant étérécupérées par le champ name newName qui permet de redéfinir le nom de l image S applique sur toutes les images ayant étérécupérées par le champ name Si vous êtes curieux et souhaitez aller plus loin dans l utilisation de Kustomize sachez qu il y a encore pas mal d éléments dont on n a pas parlédont labels vars N hésitez pas àaller faire un tour dans la documentation regarder d autres articles en parlant ou voir des tutoriels sur Youtube J espère que ça vous aidera Tout commentaire et feedback est le bienvenue que ça soit ici sur Twitter ou sur LinkedIn 2022-05-03 21:13:26
海外TECH DEV Community What is Kustomize ? https://dev.to/mxglt/what-is-kustomize--3pn5 What is Kustomize When we start with Kubernetes and use YAML config files generally we begin to install them one by one with the following command kubectl apply f lt file gt Then we discover that we can directly target a complete folder instead of a filekubectl apply f lt folder gt But if we are doing it in each environment that we have it can quickly be annoying to duplicate all the configs or update it each time we switch That s why in these cases we start to use some tools to generate the configs dynamically Today we will speak about one of them Kustomize What is Kustomize Kustomize is a configuration management tool embeded in Kubernetes So if you already have kubectl setup you can directly use it Unlike Helm it s not a templating tool but really a config management tool To give you a quick example to compare both tool Helm will use a template like behind and the user will define a value for each variable apiVersion apps vkind Deploymentmetadata name the deploymentspec replicas template containers name Values containerName image Values containerImage In this example the user can define the container name and its image But they can t update the number of replicas Once called Helm will generate a yaml file from the template and the values given by the user Kustomize will allow the user to override any configuration value We will see how later Before going further here is the context for our next examples kubernetes application deployment yaml configmap yamldeployment yamlapiVersion apps vkind Deploymentmetadata name my deploymentspec replicas template containers name my container image ubuntu latest env name TEST value TOTO volumeMounts name config volume mountPath configs volumes name config volume configMap name example configconfigmap yaml apiVersion v kind ConfigMap metadata name example config namespace example data config json environment test How works Kustomize First Kustomize needs a kustomization yaml file which will contain all the configurations that it needs to know BaseIn our example context we will add this file in the application folder with this content resources deployment yaml configmap yamlHere we indicate to Kustomize which files are the Kubernetes config files that we want to apply when this kustomization file is called This folder become our base for our next configurations Therefore if we use one of the following commands we will generate the deployment and the configmap as defined in our YAML files kubectl kustomize kubernetes application kubectl apply f Orkubectl apply k kubernetes application CustomizationNow that we have our base we can create our custom configurations for each environment that we have In the kubernetes folder we create a folder environments Then in this folder we create two folders dev and prod representing each environment that we have and we create a kustomization yaml file in both dev and prod In both files we add this contentbases applicationThis bloc define which is the configuration basis for our customization In this example it targets the previous folder that we configured So if we are using the same command to use Kustomize but targeting one of the environment folder the deployment and configmap defined in the base will be created kubectl kustomize kubernetes environments dev kubectl apply f Orkubectl apply k kubernetes environments dev Possible updatesSearching through the Kustomize documentation you will see each and every update available but now we will only see the principal ones PatchA patch in Kustomize is a file which will contains a partial configuration of a component which will override the base configuration For example in production we want to increase the number of replicas and define how much resources a pod can use So we create the two following files in the prod folder replica count yaml Note Kustomize doesn t care about the name apiVersion apps vkind Deploymentmetadata name my deployment Name of the deployment to updatespec replicas The new valueresources yamlapiVersion apps vkind Deploymentmetadata name my deploymentspec template containers name my container resources requests memory Mi cpu m limits memory Mi cpu m Now to be sure that they will be used as patches we must add the following code bloc in kustomization yaml in the prod folder patches replica count yaml resources yamlWe listed the two newly created files containing the new values Patch Strategic MergeSometimes we don t want to override the value of a list but add something in the list In this case we use patchesStrategicMerge For example if I want to add an environment variable to my container I should create a file with the new environment variables to add in the prod folderenv yamlapiVersion apps vkind Deploymentmetadata name my deploymentspec template containers name my container env name ENVIRONMENT value Productionadd the following bloc in kustomization yamlpatchesStrategicMerge env yamlThen when it will be deployed in production the container will have these environment variables TEST TODOENVIRONMENT Production GeneratorsIn Kustomize some parameters exist to generate configmaps and secrets Both are similar so we will do the example with the configMapGenerator configMapGenerator name example config namespace example behavior replace files configs config jsonIn this code that we can found in the kustomization yaml file a configmap named example config will be created in the example namespace with the content of configs config json as value In the commented line we can see the parameter behavior which allows us to replace an existing configmap instead of creating a new one ImagesThe last parameter that we will see today allows us to do some updates about the images used in our configurationsDefinition example in kustomization yamlimages name hello world newTag linux newName ubuntu In this example we see parameters name To find all the images matching this name where the override will occurnewTag The new tag of the image to usenewName The new name of the image to useIf you are curious and wanted to go further please go check the documentation We only saw a part of Kustomize I hope it will help you Don t hesitate to give me feedback here on twitter or by LinkedIn I will be glad to read it You can use the same links if you want to contact me or want to collaborate with me 2022-05-03 21:13:21
海外科学 NYT > Science He Spurred a Revolution in Psychiatry. Then He ‘Disappeared.’ https://www.nytimes.com/2022/05/02/health/john-fryer-psychiatry.html He Spurred a Revolution in Psychiatry Then He Disappeared In Dr John Fryer risked his career to tell his colleagues that gay people were not mentally ill His act sent ripples through the legal medical and justice systems 2022-05-03 21:27:50
ニュース BBC News - Home Villarreal 2-3 Liverpool (2-5 on aggregate): Jurgen Klopp's side advance to Champions League final https://www.bbc.co.uk/sport/football/61300681?at_medium=RSS&at_campaign=KARANGA Villarreal Liverpool on aggregate Jurgen Klopp x s side advance to Champions League finalLiverpool survive a scare against Villarreal to move into the Champions League final and keep their hopes of winning the quadruple alive 2022-05-03 21:10:25
ニュース BBC News - Home Bournemouth seal promotion to Premier League https://www.bbc.co.uk/sport/football/60342935?at_medium=RSS&at_campaign=KARANGA nottingham 2022-05-03 21:24:34
ニュース BBC News - Home Emma Raducanu out of Madrid Open after Anhelina Kalinina defeat https://www.bbc.co.uk/sport/tennis/61314518?at_medium=RSS&at_campaign=KARANGA anhelina 2022-05-03 21:14:20
北海道 北海道新聞 ミネタ元米運輸長官死去 日系初の閣僚、収容所経験 https://www.hokkaido-np.co.jp/article/676988/ 閣僚 2022-05-04 06:07:01
北海道 北海道新聞 日本ハム反撃不発 五回幻のエンドラン(3日) https://www.hokkaido-np.co.jp/article/676980/ 日本ハム 2022-05-04 06:14:32
北海道 北海道新聞 NY株続伸、67ドル高 売られ過ぎとの見方で https://www.hokkaido-np.co.jp/article/676991/ 見方 2022-05-04 06:11:00
北海道 北海道新聞 金子先発復帰へ気合 コンサドーレ https://www.hokkaido-np.co.jp/article/676979/ 大型連休 2022-05-04 06:10:48
北海道 北海道新聞 ブルックスが前十字靱帯損傷 レバンガ https://www.hokkaido-np.co.jp/article/676982/ 靱帯 2022-05-04 06:10:01
北海道 北海道新聞 桂田社長、安全規程違反認める 家族向け文書で、定点連絡も怠る 知床・観光船事故 https://www.hokkaido-np.co.jp/article/676955/ 知床半島 2022-05-04 06:05:57
北海道 北海道新聞 日本車4社、米販売27%減 供給網混乱による制約続く https://www.hokkaido-np.co.jp/article/676990/ 販売 2022-05-04 06:01:00

コメント

このブログの人気の投稿

投稿時間:2021-06-17 05:05:34 RSSフィード2021-06-17 05:00 分まとめ(1274件)

投稿時間:2021-06-20 02:06:12 RSSフィード2021-06-20 02:00 分まとめ(3871件)

投稿時間:2020-12-01 09:41:49 RSSフィード2020-12-01 09:00 分まとめ(69件)