Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
c言語で図形ボタン作成 |
https://teratail.com/questions/335849?rss=all
|
質問 |
2021-04-30 00:45:27 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
Pylance使用時、構文チェックでエラーとなる原因について |
https://teratail.com/questions/335848?rss=all
|
Pylance使用時、構文チェックでエラーとなる原因についてPylance使用時、構文チェックでエラーとなる原因について環境開発環境VScode開発サーバRaspbiannbspGNULinuxnbspnbspbuster開発言語Pythonnbsp希望回答事項構文エラーの原因と回避方法関数アノテーションを作成する際の型調査方法質問事項PythonからPostgreSQLへ接続するプログラムを勉強中となります。 |
2021-04-30 00:26:26 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
画像と要素をずらして重ねたい |
https://teratail.com/questions/335847?rss=all
|
画像と要素をずらして重ねたい前提・実現したいことホームページ作成の中で、画像と要素を重ね、要素には文字を入れており、それを少しずらして表示したいと思っています。 |
2021-04-30 00:09:09 |
Ruby |
Rubyタグが付けられた新着投稿 - Qiita |
草野球の出欠確認Webアプリを作ろう! part.4 |
https://qiita.com/tomodachi_uec/items/558c48acf7ffc2efeefe
|
※以下の記事を参考にした。 |
2021-04-30 00:37:26 |
AWS |
AWSタグが付けられた新着投稿 - Qiita |
AWS CLIを使ってCognitoユーザーステータスのFORCE_CHANGE_PASSWORDをCONFIRMEDに変更 |
https://qiita.com/icck/items/bd800fb32dd60dc09af5
|
|
2021-04-30 00:59:40 |
AWS |
AWSタグが付けられた新着投稿 - Qiita |
AWS アカウントを 40 個抱える 300 人の会社で AWS SSO を導入した話 |
https://qiita.com/numsh/items/a3a6a4016accd4f27393
|
リソース管理者にAWSSSOの操作をどこまで許すかAWSSSOではAWSアカウント、ユーザー、アクセス権限セットのつを組み合わせることで「どのアカウントで誰が何をできるのか」を設定しますが、リソース管理者にアクセス権限セットの作成や削除を許可してしまうとアクセス権限セットがぐちゃぐちゃになってしまう懸念があったため、アクセス権限セットを作成したり削除できるのはアカウント管理者のみとしました。 |
2021-04-30 00:55:12 |
AWS |
AWSタグが付けられた新着投稿 - Qiita |
AWS CDK で他人が作った環境を自分の環境のスタックにデプロイする |
https://qiita.com/oichokabu/items/0a27170ad8633211c62a
|
AWSCDKで他人が作った環境を自分の環境のスタックにデプロイするはじめにもはやCFnCloudFormationに環境設定を直書きしてる方は絶滅危惧種のようです知りませんでしたCFnのような面倒な記述なく、Pythonなどでゴリゴリ書けるCDKがトレンドみたいです。 |
2021-04-30 00:15:57 |
GCP |
gcpタグが付けられた新着投稿 - Qiita |
Professional Cloud DevOps Engineer 合格体験記 |
https://qiita.com/makoto-mase/items/1a15221a817351b693dc
|
上記以外ではGKEやモニタリングに関する問題が多かったです。 |
2021-04-30 00:52:11 |
Ruby |
Railsタグが付けられた新着投稿 - Qiita |
2種類のparameter |
https://qiita.com/takuo_maeda/items/51bda45765e55a3cd0c1
|
種類のparameterパラメータコントローラのアクションでは、ユーザーから送信されたデータやその他のパラメータにアクセスして何か作業を行なうのが普通です。 |
2021-04-30 00:48:56 |
Ruby |
Railsタグが付けられた新着投稿 - Qiita |
VCのまとめ |
https://qiita.com/takuo_maeda/items/aa65baabf5b1aadd352d
|
情報を登録する際など、サーバーに情報を送信するために利用される。 |
2021-04-30 00:45:50 |
Ruby |
Railsタグが付けられた新着投稿 - Qiita |
草野球の出欠確認Webアプリを作ろう! part.4 |
https://qiita.com/tomodachi_uec/items/558c48acf7ffc2efeefe
|
※以下の記事を参考にした。 |
2021-04-30 00:37:26 |
海外TECH |
DEV Community |
JS Interview #36: Can you add a new property to the JS array? |
https://dev.to/coderslang/js-interview-36-can-you-add-a-new-property-to-the-js-array-137b
|
JS Interview Can you add a new property to the JS array Does the new array property affect its length Is such an assignment valid at all JavaScript arrays are used to store values in an orderly fashion Normally to add a new element you should use the built in push function But in JS all arrays are objects in the first place Which means you can add new fields to them The assignment arr greeting Hello world won t raise any errors and is perfectly fine from the language standpoint Once it s executed the array will have an extra property greeting The length of an array won t change as Hello world isn t considered one of the elements of the array ANSWER the length of an array won t change and will remain equal to The second console log prints out Hello world to the screen Learn Full Stack JavaScript |
2021-04-29 15:25:22 |
海外TECH |
DEV Community |
🚀ITERATORS AND GENERATORS 101 #1🚀 |
https://dev.to/michalpzarzycki/iterators-and-generators-101-1-3o0f
|
ITERATORS AND GENERATORS For loop problemBefore I start explaining what is the problem with the for loop and why it is worth using the for of loop let s take a look at the code below I want to list all combinations of these three arrayslet colors Red Blue Yellow let cars BMW Audi Fiat let models v v v let allOptionsForLoop let allOptionsForOfLoop Let s use for loop to create allOptionsForLoop for let i i lt colors length i for let j j lt cars length j for let k k lt models length k allOptionsForLoop push colors i cars j models k And for of loop to create allOptionsForOfLoop for const color of colors for const car of cars for const model of models allOptionsForOfLoop push color car model console log allOptionsForLoop console log console log allOptionsForOfLoop console log JSON stringify allOptionsForLoop JSON stringify allOptionsForOfLoop Red BMW v Red BMW v Red BMW v Red Audi v Red Audi v Red Audi v Red Fiat v Red Fiat v Red Fiat v Blue BMW v Blue BMW v Blue BMW v Blue Audi v Blue Audi v Blue Audi v Blue Fiat v Blue Fiat v Blue Fiat v Yellow BMW v Yellow BMW v Yellow BMW v Yellow Audi v Yellow Audi v Yellow Audi v Yellow Fiat v Yellow Fiat v Yellow Fiat v Red BMW v Red BMW v Red BMW v Red Audi v Red Audi v Red Audi v Red Fiat v Red Fiat v Red Fiat v Blue BMW v Blue BMW v Blue BMW v Blue Audi v Blue Audi v Blue Audi v Blue Fiat v Blue Fiat v Blue Fiat v Yellow BMW v Yellow BMW v Yellow BMW v Yellow Audi v Yellow Audi v Yellow Audi v Yellow Fiat v Yellow Fiat v Yellow Fiat v trueDo you see the differences The for of loop allows you to completely eliminate the need to monitor the collection index so you can concentrate on working with the collection s content But how does the for of loop know how to iterate through a given collection ITERATORSBefore you fully understand how the for of loop works you need to understand the iterators What are iterators An iterator is such an object with a rather unusual interface that is designed to iterate The iterator contains an internal pointer that tracks our position in the collection and a next method that contains the result object The result object has two values value done value contains the return value of the iterator and done tells us whether the given value is the last value returned true or not false Based on this information let s try to create such an iterator ourselves function myFirstIterator itemsToIterate i is an iteration pointer let i return next function check if itemsToIterate i exists let done i gt itemsToIterate length if its done return undefined let value done itemsToIterate i undefined ok we ve got done value so lets move forward i return done value let iterateMe myFirstIterator Hello World console log iterateMe next done false value Hello console log iterateMe next done false value World console log iterateMe next done false value console log iterateMe next done true value undefined console log iterateMe next done true value undefined As you can see creating iterators that behave according to the rules described above those defined in ES is not an easy task Fortunately ES comes to the rescue and offers us generators that make iterator creation easier How GENERATORSIn simple words generator is a function that returns an iterator Let s look at the code below placed in front of myFisrstGenerator makes this function a generatorfunction myFirstGenerator yield specifies the values that should be returned by the iterator when calling the next method yield Hello yield World yield let iterateMe myFirstGenerator console log iterateMe next done false value Hello console log iterateMe next done false value World console log iterateMe next done false value console log iterateMe next done true value undefined console log iterateMe next done true value undefined After each yield command the generator stops running the generator functions This allows us to develop a generator that adds elements to iterators function iterateMyArray myArray for let i i lt myArray length i yield myArray i let iterateMe iterateMyArray Hello World console log iterateMe next done false value Hello console log iterateMe next done false value World console log iterateMe next done false value console log iterateMe next done true value undefined console log iterateMe next done true value undefined Now compare the generator iterateMyArray with the iterator from the beginning The difference in the ease of writing ES iterators with generators compared to ES is huge Generators tips and tricksCreating a generator function sampleGenerator function sampleGenerator function sampleGenerator function sampleGenerator let sampleGenerator function let sampleGenerator gt Be careful where you use yield yield can be used only inside generators function newGen function insideNewGen it will throw an error yield Hello You can add generators as an object method let obj like this ES generatorNr function myArray for let i i lt myArray length i yield myArray i or like this ES generatorNr myArray for let i i lt myArray length i yield myArray i Symbol iterator But what about that for loop So much code for iterators and generators here but how does that relate to the for loop Good question The iterator is associated with the element that iterates that is the Symbol iterator object It specifies the function that returns the iterator for the given object All iterable elements have a default Symbol iterator defined Thanks to this they can use the for of loop because it is from such iterator the loop takes knowledge about its iteration But do all elements have such a default iterator Let s check function doIhaveDefaultIterator obj return typeof obj Symbol iterator function arrayconsole log doIhaveDefaultIterator Hello World true Mapconsole log doIhaveDefaultIterator new Map true Stringconsole log doIhaveDefaultIterator hello true Objectconsole log doIhaveDefaultIterator new Object falseconsole log doIhaveDefaultIterator false Setconsole log doIhaveDefaultIterator new Set true Weakmapconsole log doIhaveDefaultIterator new WeakMap false WeakSetconsole log doIhaveDefaultIterator new WeakSet falseWow As you can see not everything in JS can be iterated by default it is especially painful that objects do not have an iterator Does this mean that the for of loop is useless for objects Not necessarily How to create an iterable object You need to create a new iterator using Symbol iterator let object name Michal surname Zarzycki Symbol iterator let keys Object keys object for let i i lt keys length i yield keys i object keys i for const props of object console log props name Michal surname Zarzycki Looking at the example above an observant might say that since this is just printing key value pairs from an object wouldn t it be better to just use the for in loop which does just that This is another good question Although creating iterators or overwriting default iterators works in a bit more specific situations where our iteration does not necessarily have to be typical adding an iterator to the object may be useful for another reason for in does not see Symbols let symbol Symbol symbol obj name Michal surname Zarzycki obj symbol Secret message I love puppies for const prop in obj console log key prop key console log name Michal surname ZarzyckiUfff my secret message is safe now Unless I use an iterator let symbol Symbol symbol obj name Michal surname Zarzycki Symbol iterator let arr Object getOwnPropertySymbols obj let ob keys Object keys obj let keys arr ob keys for let i i lt keys length i yield keys i obj keys i obj symbol Secret message I love puppies for const prop of obj console log prop console log Symbol Symbol iterator GeneratorFunction Symbol iterator Symbol symbol Secret message I love puppies name Michal surname Zarzycki As you can see iterators are a very powerful tool and they have many uses I recommend you to create your own iterator maybe it will skip your message secret when iterating Thanks for reading |
2021-04-29 15:10:31 |
Apple |
AppleInsider - Frontpage News |
Cowen raises AAPL price target to $180, says growth will continue into 2022 |
https://appleinsider.com/articles/21/04/29/cowen-raises-aapl-price-target-to-180-says-growth-will-continue-into-2022?utm_medium=rss
|
Cowen raises AAPL price target to says growth will continue into Cowen and Company has raised its Apple stock price target to and has revised its Apple estimates upwards across the board after the company s Q earnings beat Credit Andrew O Hara AppleInsiderIn a note to investors seen by AppleInsider analyst Krish Sankar says that Cowen s Q iPhone growth expectations remain on track but adds that there could be incremental upside to both the Mac and iPad segments Read more |
2021-04-29 15:45:29 |
Apple |
AppleInsider - Frontpage News |
Upcoming Procreate update will bring 3D Painting feature to iPad Pro |
https://appleinsider.com/articles/21/04/29/upcoming-procreate-update-will-bring-3d-painting-feature-to-ipad-pro?utm_medium=rss
|
Upcoming Procreate update will bring D Painting feature to iPad ProArtists will soon be able to import D objects directly into Procreate and paint on model thanks to the new M chip in the iPad Pro Procreate a popular iPad artists tool has announced the upcoming release of Procreate Designed to take advantage of the M chip in the newly announced iPad Pro users can get up to four times the speed of previous releases Additionally and perhaps most impressively the new update allows artists to import D objects as canvases Once imported an artist can use the D Paint feature to paint on any surface at any angle Procreate also allows artists to preview the objects in the real world using the iPad s LiDAR camera adding realistic lighting and shadow effects Read more |
2021-04-29 15:42:53 |
Apple |
AppleInsider - Frontpage News |
Spotify updates 'Your Library' tab with improved search |
https://appleinsider.com/articles/21/04/29/spotify-updates-your-library-tab-with-improved-search?utm_medium=rss
|
Spotify updates x Your Library x tab with improved searchIn a service update revealed on Thursday the Your Library tab in Spotify can now be searched using dynamic tags new sorting options and search filters Spotify updates Your Library tab with better searchSpotify is a music streaming service with an ad supported free tier and premium subscription tier It competes directly with Apple Music and has over million subscribers Read more |
2021-04-29 15:42:01 |
Apple |
AppleInsider - Frontpage News |
Apple's M1 MacBook Pro with 512GB SSD gets record-breaking $200 discount |
https://appleinsider.com/articles/21/04/29/apples-m1-macbook-pro-with-512gb-ssd-gets-record-breaking-200-discount?utm_medium=rss
|
Apple x s M MacBook Pro with GB SSD gets record breaking discountAmazon has done it again with a hidden discount on Apple s M MacBook Pro delivering the lowest price on record for the GB model M MacBook Pro The discount at Amazon is in the form of a instant rebate stacked with a bonus discount at checkout making the price of the M GB GB model a record low in your choice of Silver or Space Gray Read more |
2021-04-29 15:24:31 |
Apple |
AppleInsider - Frontpage News |
Extended: Babbel Lifetime Subscription with 14 languages on sale for $199 ($300 off) |
https://appleinsider.com/articles/21/04/04/deals-babbel-lifetime-subscription-with-14-languages-on-sale-for-199-300-off?utm_medium=rss
|
Extended Babbel Lifetime Subscription with languages on sale for off Extended by popular demand Readers this week can save on a lifetime Babbel language learning subscription with languages included This marks the return of holiday pricing for the popular language learning app Low Babbel costThe Babbel deal includes lifetime access to learn languages including Spanish German Italian and French Read more |
2021-04-29 15:51:46 |
海外TECH |
Engadget |
NYPD stops using Boston Dynamics' robodog following backlash |
https://www.engadget.com/nypd-boston-dynamics-spot-robot-dog-lease-154112492.html
|
backlashthe |
2021-04-29 15:41:12 |
Cisco |
Cisco Blog |
Hack@Home: Reimagining how we Innovate by Pivoting in a Pandemic |
https://blogs.cisco.com/innovation/hackhome-reimagining-how-we-innovate-by-pivoting-in-a-pandemic
|
Hack Home Reimagining how we Innovate by Pivoting in a PandemicOvernight everything went virtual Learn how the Cisco Chief Technology Office Customer Experience CX CTO team pivoted during unprecedented times |
2021-04-29 15:48:28 |
Cisco |
Cisco Blog |
To Buy or To Build: Developing Your Security Operations Center |
https://blogs.cisco.com/partner/to-buy-or-to-build-developing-your-security-operations-center
|
relies |
2021-04-29 15:00:55 |
海外TECH |
CodeProject Latest Articles |
Creating a Redis Client using the .NET System.IO.Pipelines and Kestrel Sockets Libraries |
https://www.codeproject.com/Articles/5274503/Creating-a-Redis-Client-using-the-NET-System-IO-Pi
|
pipelines |
2021-04-29 15:56:00 |
海外科学 |
NYT > Science |
Do I Have to Get the Covid Vaccine in My Arm? |
https://www.nytimes.com/2021/04/29/well/live/covid-vaccine-thigh-lymphedema-breast-cancer.html
|
alternate |
2021-04-29 15:11:54 |
ニュース |
ジェトロ ビジネスニュース(通商弘報) |
再生可能エネルギー供給義務化制度(RPS)の義務供給比率の上限拡大 |
https://www.jetro.go.jp/biznews/2021/04/93237fc9ad382ec3.html
|
再生可能エネルギー |
2021-04-29 15:50:00 |
ニュース |
ジェトロ ビジネスニュース(通商弘報) |
常住人口300万人未満の都市の戸籍取得制限の全面撤廃をあらためて明確化 |
https://www.jetro.go.jp/biznews/2021/04/5b1036e40b1a1d31.html
|
常住人口 |
2021-04-29 15:40:00 |
ニュース |
ジェトロ ビジネスニュース(通商弘報) |
貿易相など一部閣僚が交代 |
https://www.jetro.go.jp/biznews/2021/04/3a6c600e82be31e1.html
|
閣僚 |
2021-04-29 15:30:00 |
ニュース |
ジェトロ ビジネスニュース(通商弘報) |
プーチン大統領の年次教書演説、新型コロナワクチン接種を呼びかけ |
https://www.jetro.go.jp/biznews/2021/04/828168288c65b9d3.html
|
演説 |
2021-04-29 15:20:00 |
ニュース |
ジェトロ ビジネスニュース(通商弘報) |
トランスコスモスの大連子会社、中国建築業界の市場開拓を視野に |
https://www.jetro.go.jp/biznews/2021/04/8da88749a0252e09.html
|
開拓 |
2021-04-29 15:10:00 |
ニュース |
ジェトロ ビジネスニュース(通商弘報) |
カンボジア日本人商工会、政府に日系企業の早期再開許可を要望 |
https://www.jetro.go.jp/biznews/2021/04/e6c3425ed04fda86.html
|
日系企業 |
2021-04-29 15:05:00 |
海外ニュース |
Japan Times latest articles |
Efforts underway to end ‘period poverty’ in Japan |
https://www.japantimes.co.jp/news/2021/04/29/national/social-issues/japan-period-poverty/
|
feminine |
2021-04-30 02:00:22 |
海外ニュース |
Japan Times latest articles |
Dark horse of vaccine race may be this French biotech |
https://www.japantimes.co.jp/news/2021/04/29/world/science-health-world/valneva-vaccine-variants/
|
Dark horse of vaccine race may be this French biotechWith the other COVID vaccines in Europe focused on the virus s spike protein this shot could protect against variants that might compromise others making it |
2021-04-30 01:43:20 |
海外ニュース |
Japan Times latest articles |
Canary in the coal mine: Study finds world’s glaciers melting faster |
https://www.japantimes.co.jp/news/2021/04/29/world/science-health-world/climate-change-glaciers/
|
Canary in the coal mine Study finds world s glaciers melting fasterNearly all of the world s glaciers are losing mass ーand at an accelerated pace according to a new study published Wednesday that could impact |
2021-04-30 01:03:06 |
海外ニュース |
Japan Times latest articles |
China gets up to speed in space race with launch of ‘Heavenly Palace’ |
https://www.japantimes.co.jp/news/2021/04/29/world/science-health-world/china-gets-speed-space-race-launch-heavenly-palace/
|
China gets up to speed in space race with launch of Heavenly Palace China launched the first module of its Heavenly Palace space station on Thursday a milestone in Beijing s ambitious plan to establish a permanent human presence |
2021-04-30 00:18:25 |
海外ニュース |
Japan Times latest articles |
After three U.S. strikeouts, will Afghanistan be the fourth? |
https://www.japantimes.co.jp/opinion/2021/04/29/commentary/world-commentary/afghanistan-u-s-joe-biden-barack-obama-egypt-iran-diplomacy/
|
pattern |
2021-04-30 01:39:08 |
海外ニュース |
Japan Times latest articles |
There’s no easy way back to the Iran nuclear deal |
https://www.japantimes.co.jp/opinion/2021/04/29/commentary/world-commentary/iran-nuclear-weapons-u-s-joe-biden/
|
threat |
2021-04-30 00:32:40 |
海外ニュース |
Japan Times latest articles |
The geopolitics of climate change |
https://www.japantimes.co.jp/opinion/2021/04/29/commentary/world-commentary/cop26-carbon-emissions-climate-change-environment-u-s-china-russia/
|
direction |
2021-04-30 00:28:16 |
ニュース |
BBC News - Home |
Larne: Cars destroyed in arson attack on police officer's home |
https://www.bbc.co.uk/news/uk-northern-ireland-56929704
|
paramilitary |
2021-04-29 15:18:22 |
ニュース |
BBC News - Home |
Killed community police officer last seen walking dog |
https://www.bbc.co.uk/news/uk-england-kent-56925294
|
james |
2021-04-29 15:05:25 |
ニュース |
BBC News - Home |
Fishmongers' Hall attack: Prison boss tricked by Usman Khan, inquest hears |
https://www.bbc.co.uk/news/uk-england-london-56925994
|
bulky |
2021-04-29 15:07:35 |
ニュース |
BBC News - Home |
William and Kate release video to thank supporters |
https://www.bbc.co.uk/news/uk-56928583
|
cambridge |
2021-04-29 15:41:17 |
ニュース |
BBC News - Home |
Selby and Bingham level after semi-final first session |
https://www.bbc.co.uk/sport/snooker/56932603
|
final |
2021-04-29 15:41:09 |
北海道 |
北海道新聞 |
道内の変異株疑い90人 新規クラスターは2件 |
https://www.hokkaido-np.co.jp/article/539009/
|
道内 |
2021-04-30 00:14:48 |
北海道 |
北海道新聞 |
コロナ禍の大型連休、小樽そろりスタート 市外の観光客に戸惑いも |
https://www.hokkaido-np.co.jp/article/538944/
|
小樽天狗山ロープウエイ |
2021-04-30 00:07:05 |
Azure |
Azure の更新情報 |
Azure Site Recovery now supports Azure Policy in public preview |
https://azure.microsoft.com/ja-jp/updates/asr-policy-preview/
|
ensure |
2021-04-29 15:43:58 |
Azure |
Azure の更新情報 |
General availability: Azure Site Recovery now supports cross-continental disaster recovery for 3 region pairs |
https://azure.microsoft.com/ja-jp/updates/asr-cross-continental-dr/
|
General availability Azure Site Recovery now supports cross continental disaster recovery for region pairsProtect your applications from outages by replicating your virtual machines across continents |
2021-04-29 15:40:15 |
Azure |
Azure の更新情報 |
General availability: Set up Azure Site Recovery with proximity placement groups across hybrid and cloud disaster recovery scenarios |
https://azure.microsoft.com/ja-jp/updates/set-up-asr-with-ppg/
|
General availability Set up Azure Site Recovery with proximity placement groups across hybrid and cloud disaster recovery scenariosAzure Site Recovery now provides a portal experience to failover VMs or physical servers inside a proximity placement group in the target Azure region |
2021-04-29 15:40:09 |
GCP |
Cloud Blog |
4 simple steps to make the perfect spreadsheet to power your no-code app |
https://cloud.google.com/blog/products/no-code-development/turn-google-sheet-data-into-a-no-code-web-app-with-appsheet/
|
simple steps to make the perfect spreadsheet to power your no code appMaking data accessible useful and actionable in different contexts is one of the main reasons we build apps Typically this involves a lot of engineering but thanks to no code app development even those with no coding experience can create apps from the most commonplace data repository of them all the spreadsheet or Google Sheets For example if employees in the field are recording data by hand and inputting it into Google Sheets later all of that work could be simplified with a no code app Users would simply input data into the app which would automatically sync with spreadsheets in the cloud For many line of business workers the power to replace spreadsheet maintenance with an app can lead to powerful efficiency gains Likewise for many enterprises the ability to empower non technical workers to build such apps themselves without significant IT resources can be transformative opening entirely new avenues for accelerating innovation Getting this process started can be as simple as organizing spreadsheets such that a no code app platform like Google Cloud AppSheet can ingest them and generate useful prototype apps for users to further build on Though no coding is required great no code apps still rely on a well designed data structure In this post we ll go over the fundamentals of preparing a data source in Google Sheets to effectively build applications using AppSheet Here are steps that can help you reduce friction in the no code app prototyping process simplify the maintenance and management of your app and create a more performative and efficient data structure Step Use clean table layoutsBefore we begin laying out our Google Sheet let s consider a few questions What do I want my app to do What data is required to perform those functions What data will my users need to access The critical data above needs to be captured in a column or table in your Google Sheet When grouping your columns into tables think about what the simplest conceptual grouping would be Imagine we re building an app for a grocery store which keeps track of inventory Initially we might be inclined to create a separate table for each category of item like in Example but this schema is inefficient as it creates a large number of tables we would need to manage and update individually A better solution would be to contain all of our inventory items in a single table and include a column which designates item categories like in Example Key Takeaway This simplicity is important because if you have too many tables your app will become harder to maintain and modify and it may face sync time issues and additional potential failure points Step Name and format your data simply and consistently Column and table names should be kept short and easy to understand Avoid creating long names names with special characters or names with strings of numerics Column naming and formatting conventions should persist across data sources if possible That is if your app is pulling data from multiple Sheets naming and formation should be consistent across all of them Following these guidelines will ensure that your data is easy to understand increase the likelihood that the prototype app interprets data as desired and make it easier to employ expressions within your app Step Use columns for categories and rows for entriesWhen new data is added in an AppSheet app it will be appended to your sheet in the form of a new row It s important to ensure that the structure of your spreadsheet is uniform and that is built such that each row represents an entry and each column represents a category for type of entries To understand what this means let s look at three examples Example Inverted inventory tableIn this first example we can see that the desired structure is inverted Data headers are arranged vertically and new entries representing inventory items are added as columns This arrangement will prevent AppSheet from adding new rows it should look more like the “ideal table layout in the previous section Example Interrupted inventory tableThis second example spreadsheet contains a section that is meant to be used as a calculator Because this interrupts the structure of the spreadsheet however it will prevent new rows from being added Tables must remain structurally consistent across their entirety and they must consist of only column headers and ensuing rows of data If you have a section such as a calculator which interrupts the overall structure of the table you ll need to either integrate it into the original table structure like Example or relegate it to its own independent table Example Integrated Calculation FieldsKey Takeaway Duplication is a related structural pitfall to watch for If you notice that large blocks of data are being duplicated in multiple tables this is a good indicator that your data structure may not be as efficient as it could be which could contribute to extended sync times for apps Step Add a key columnEvery table must include a key column that serves as a unique identifier for each row of data For some types of data each row will naturally contain a column which is unchanging and unique for each row A good example of a naturally unique key is a product ASIN or SKU no two products will have the same Similarly an employee identification number or email are good unique keys as no two individuals will have the same one For data that does not have this property we can easily generate one using the UNIQUEID function in the AppSheet editor If you want to learn more about keys see our help documentation on the subject It s time to create your first no code appIf you ve been following each of the above mentioned steps to structure your data you should be ready to turn your data into a powerful no code app To get started open up Sheets with your data and go to tools gt AppSheet gt Create an app From there Appsheet will automatically read your data and turn your spreadsheets data into a no code app to drive powerful efficiency gains For a deeper dive into this topic be sure to see our article on spreadsheet best practices and this webinar and feel free to jumpstart your no code journey with our library of sample apps If you run into any issues building your apps check out our help articles or ask a question on the AppSheet Community We ve been truly inspired by the apps already created by tech savvy creators like you and can t wait to see what you create next Ready to use AppSheet Get started now Related ArticleReclaim time and talent with AppSheet AutomationAppSheet Automation a significant addition to AppSheet our no code development platform leverages Google AI to empower even those with Read Article |
2021-04-29 16:00:00 |
GCP |
Cloud Blog |
Risk governance of digital transformation: guide for risk, compliance & audit teams |
https://cloud.google.com/blog/products/identity-security/new-whitepaper-managing-risk-governance-in-digital-transformation/
|
Risk governance of digital transformation guide for risk compliance amp audit teamsThe ongoing shift toward cloud technologies has transformed industries and continues to accelerate This has created new challenges and opportunities for Chief Risk Officers Chief Compliance Officers Heads of Internal Audit and their teams As their organizations pursue newfound agility quality improvements to their products and services and relevance in the marketplace executives and their teams rightfully prioritize a safe secure and compliant adoption process for this new technological environment All technological transformations this broad in scope require an adjustment to the risk compliance and audit practices that ensure they re safely managed But we shouldn t assume that adopting cloud computing means there is more risk to manage or that it will result in a net increase in risk at all Cloud is as much a means of managing your security resilience and other risks as it is a risk in its own right Independent Risk Compliance and Audit teams are positioned to add immense strategic value to enterprises both by charting a course to the safe use of cloud technology and by reducing risk through the use of the cloud Our new whitepaper aims to help you achieve those benefits acting as a guide to the transformational activities that will take place within your organization The processes we describe in the paper can help you understand what this transformation means for risk compliance and audit functions and how to best position those programs for success in the cloud world There are many detailed considerations for each of the functions involved in a successful transformation so we propose that the following principles adopted in four core phases should be your guide and reference when navigating the journey Set the cornerstones establish a common understanding and the key principles that will shape the intent and approach of the organization s transformation over time Build a common understanding A successful digital transformation requires the orchestration of organizational cultural technical and procedural changes A common and shared understanding of terminology and approaches provides a reference model for those involved in planning and executing across all lines of defense Think long term but act iteratively Mature your risk and control approach as you go Delaying your digital transformation to build “perfection from day is unlikely to be practical but also can be ill advised from a risk perspective as engagement and maturing through learning will yield a better process in the long run Prioritize organizational readiness Ensure that assessing and enhancing capabilities and skills and implementing the right organizational structures and operating models are prioritized Initially this may take the form of dedicated teams but longer term will require a more holistic approach Implement dedicated but integrated governance Establish an overall transformation program oversight approach e g council or committee and a program office with the relevant leadership oversight Ensure your technology operational and security risk governance is acting as a check and balance to the program governance Manage the initial phases implement structures and apparatus that allow the organization to safely conduct initial migrations to the cloud Define initial minimum security and configuration standards Make sure security and other configuration standards and principles are developed and updated in light of new work There should be a clear definition of the minimum standards that apply to a given class of workload based on criticality of data or business service during the initial phases Define initial risk and compliance oversight Establish initial risk monitoring frameworks and constantly iterate based on experience and learning these should include specific metrics and associated thresholds or limits Leverage independent expertise and testing to validate designs and projects particularly in initial phases Communicate with boards and regulators The first line of defense should proactively demonstrate to the board of directors and separately to regulators that the organization has the appropriate risk management in place Risk compliance and audit functions should provide an independent perspective on the degree of controls and adherence to risk tolerances Training and skills development Make sure that the organization has a comprehensive training plan tailored for all staff to develop deeper expertise in cloud technologies to ensure the safe future transition of responsibility and execution from small dedicated teams to the wider organization Mature and accelerate adjust control and governance structures to enable accelerated adoption of cloud by increasing control rigor and oversight and right sizing governance in parallel Develop comprehensive security and configuration standards Require that there are explicit policies standards and frameworks for how cloud deployments are to be undertaken and how such standards are to be adhered to This should enable classes of workloads to be developed and deployed rather than just single projects Modernize IT delivery Determine how technology and business units are preparing to progressively modernize the software development life cycle in order to take advantage of and sustain the security risk mitigation capabilities of the cloud Embed the security and configuration standards into the life cycle and its tooling Mainstream risk oversight Update risk and control taxonomies risks controls impacts to reflect the organization s maturing use of the cloud Adjust oversight processes such as Risk and Control Self Assessment in particular to take account of changed responsibility and accountability models including those of the cloud provider Extend continuous control monitoring When deploying technology in the cloud more of your controls can be expressed as code or otherwise systematized Leverage this property of cloud to continuously monitor key controls to assure the controls remain deployed active where expected and performing in line with stated objectives The new steady state adapt to broad usage by embedding cloud into all relevant risk programs and governance and by implementing processes to maintain currency with cloud best practice Interconnect cloud with other risk programs Oversee adjustments in connected risk programs for example in third party risk assessment and resilience programs to reflect the use of cloud by the organization to deliver technology but also to take advantage of reduced risk and increased transparency in cloud services Drive continuous improvement cycles Measure the organization s ability to continuously improve Are controls continuously monitored leveraging the systematic technology and security controls of cloud Are architectures periodically enhanced to enable controls that were previously deemed unworkable Are new cloud provider features being used Stay current with cloud best practices and constantly revalidate assumptions Adjust regulatory and standards monitoring regimes in order to identify and respond to changes to external cloud requirements and best practices Amend scenario planning processes designed to examine tail risks in light of these and as your organization s use of cloud evolves Manage legacy in parallel Ensure that the risk and governance apparatus continues to focus appropriately on existing technology and that decision making regarding maintenance upgrades and other day to day management is consistent with the ongoing safe operation of legacy systems The risk compliance and audit functions play a key role in leading your company through a complex digital transformation and enabling the benefits of cloud technologies These teams guide and shape a whole raft of changes to the ways technology security resilience and other operational risks are managed That journey can be made easier with the recommendations throughout this whitepaper which come from Google s years of leading and innovating in cloud security and risk management in addition to the experience that Google Cloud experts have gained from their previous roles in risk and control functions in large enterprises We are excited to collaborate with you on the risk governance of your cloud transformation Related ArticleNew whitepaper CISO s guide to Cloud Security TransformationSwitching to the cloud presents a huge opportunity for CISOs to transform their company s approach to security Here s what you need to k Read Article |
2021-04-29 16:00:00 |
GCP |
Cloud Blog |
How Anthos supports your multicloud needs from day one |
https://cloud.google.com/blog/topics/anthos/how-anthos-makes-multicloud-possible-today/
|
How Anthos supports your multicloud needs from day oneMost enterprises that run in the cloud have already spent a significant amount of effort automating operationalizing and securing their environment Many have spent years investing in a single cloud provider Yet today the ability to run workloads on multiple cloud providers is becoming increasingly important Why There are multiple reasons Some organizations want application teams to be able to take advantage of the best service for a given application Others have acquired a company which runs on another cloud And still others want the ability to spread out risk across multiple vendors At the same time there are also challenges associated with multicloud Having multiple cloud providers means you must accept having different APIs operational tools security standards and ways of working Resource sprawl becomes significantly worse when you have multiple cloud platforms Without a single place to see all of your resources inventorying monitoring and keeping these systems up to date can become difficult Creating secure environments within multiple cloud platforms is another challenge With each platform having different security capabilities identity systems and risks Supporting an additional cloud platform often means doubling your security efforts Finally the biggest challenge with multicloud can be the inconsistency between platforms In an ideal world application teams would not need to worry about platform specific details They would be able to build their application and deploy it to any cloud platform or move it between platforms even if platform specific details such as storage load balancing networking workload identity and security make each platform quite different Is multicloud worth it Yes For many organizations multicloud is only worth it if they can find a smart way to address these challenges For a growing number of companies the solution is Anthos Rather than relying on your application or cloud infrastructure teams to build tools to operate across multiple platforms Anthos provides these capabilities out of the box Anthos provides the core capabilities for deploying and operating infrastructure and services across Google Cloud AWS and soon in Azure For infrastructure teams Anthos provides a single way to provision view and manage distributed infrastructure characterized by A simple API driven deployment mechanismReliable one step cluster upgrades that updates the Google managed Kubernetes distribution the server OS and all of the supporting system pods and servicesA single web console for viewing cluster state nodes attached volumesA powerful configuration and policy management system which can be used to enforce security policies RBAC rules network policies and any other Kubernetes objectsA fully managed logging system with a powerful search capability log based metrics and custom retention rulesSoftware supply chain security to ensure only trusted code is running in your environmentHybrid identity service compatible with Active Directory AWS IAM and other OIDC based identity providersAnd for application teams Anthos offers a consistent deployment target regardless of which cloud you re targeting characterized by A familiar Kubernetes API that provides a consistent way of provisioning storage load balancers and ingress rulesA single web console for deploying updating and monitoring workloads and servicesAn open source serverless application framework A consistent way to securely access cloud managed services that your app depends onA single Kubernetes API endpoint for connecting to multiple clusters across multiple platforms even without direct network connectivity especially great for enabling your CI CD pipeline to run anywhere A fully managed logging system with strong support for multi tenancy so you only see logs for your applicationThe option to auto discover and collect custom application metrics dashboarding alerting and incident managementPlays nice with othersThere are a lot of Kubernetes clusters already deployed out in the wild Every cluster should not need to be completely replaced to build a multicloud environment The promise of Kubernetes is that it provides a single API and common set of objects Because of this Anthos provides a subset of capabilities to existing Kubernetes clusters and existing Amazon EKS Microsoft AKS or Red Hat OpenShift clusters can be attached to the Anthos management plane These attached clusters can take advantage of the same operational management capabilities of Anthos native clusters including The web console for deploying updating and monitoring workloads and servicesPolicy and configuration managementLogging monitoring dashboarding and alertingThe single Kubernetes API end point which is always available so you don t need to worry about network connectivity Anthos attached clusters provide an easy onboarding path that allows users to connect existing clusters to Google Cloud in minutes and start managing them through a single pane of glass The connection does not require special networking capabilities and is simple to set up This allows users to use any Kubernetes cluster they have alongside their Google Kubernetes Engine GKE clusters Of course you still use native tools for EKS AKS and OpenShift for cluster creation upgrades and deletes but once a cluster is attached to Anthos you can manage the cluster just like any other Anthos cluster Check out the recent blog post on Anthos release We announced new features for Anthos that our customers tell us will drive business agility and efficiency in the multicloud world The Anthos Sample Deployment on Google Cloud today is a great place to start with an actual application You can also deploy Anthos to your AWS account or try out attaching your existing clusters to Anthos Related Article keys to multicloud success you ll find in Anthos The new Anthos lets you do a whole lot more than just run in multiple clouds Read Article |
2021-04-29 16:00:00 |
GCP |
Cloud Blog |
Introducing Open Saves: open-source cloud-native storage for games |
https://cloud.google.com/blog/products/media-entertainment/introducing-open-saves/
|
Introducing Open Saves open source cloud native storage for gamesMany of today s games are rich immersive worlds that engage the audience in ways that make a gamer a part of a continuing storyline To create these persistent experiences numerous storage technologies are required to ensure game data can scale to the standards of gamers demands Not only do game developers need to store different types of dataーsuch as saves inventory patches replays and moreーbut they also must keep the storage system high performing available scalable and cost effective Enter Open Saves a brand new purpose built single interface for multiple storage back ends that s powered by Google Cloud and developed in partnership with K Now development teams can store game data without having to make the technical decisions on which storage solution to use whether that s Cloud Storage Memorystore or Firestore “Open Saves demonstrates our commitment to partnering with top developers on gaming solutions that require a combination of deep industry expertise and Google scale said Joe Garfola Vice President of IT and Security at K We look forward to continued collaboration with Google Cloud Game development teams can save game data against Open Saves without having to worry about the optimal back end storage solution while operations teams can focus on needed scalability and storage options Here s how it looks in practice With Open Saves game developers can run a cloud native game storage system that is Simple Open Saves provides a unified well defined gRPC endpoint for all operations for metadata structured and unstructured objects Fast With a built in caching system Open Saves optimizes data placements based on access frequency and data size all to achieve both low latency for smaller binary objects and high throughput for big objects Scalable The Open Saves API server can run on either Google Kubernetes Engine or Cloud Run Both platforms can scale out to handle hundreds of thousands of requests per second Open Saves also stores data in Firestore and Cloud Storage and can handle hundreds of gigabytes of data and up to millions of requests per second Open Saves is designed with extensibility in mind and can be integrated into any gameーwhether mobile or console multiplayer or single playerーrunning on any infrastructure from on prem to cloud or a hybrid The server is written in Go but you can use many programming languages and connect from client or server since the API is defined in gRPC Writing to and reading from Open Saves is as simple as the following code We are actively developing Open Saves in partnership with K Games and would love for you to come join us on GitHub There are a few ways to get involved Install and deploy your Open Saves serviceCheck out the API referenceRead the development guide and start contributingJoin the open saves discuss mailing listRelated ArticleOpen Match Flexible and extensible matchmaking for gamesGoogle Cloud and Unity are jointly announcing the availability of Open Match an open source matchmaking solution offering game creators Read Article |
2021-04-29 16:00:00 |
GCP |
Cloud Blog |
6 more reasons why GKE is the best Kubernetes service |
https://cloud.google.com/blog/products/containers-kubernetes/6-new-things-in-gke-that-improve-useability/
|
more reasons why GKE is the best Kubernetes serviceIt s that time of the year again time to get excited about all things cloud native as we gear up to connect share and learn from fellow developers and technologists around the world at KubeCon EU next week Cloud native technologies are mainstream and our creation Kubernetes is core to building and operating modern software We re working hard to create industry standards and services to make it easy for everyone to use this service Let s take a look at what s new in the world of Kubernetes at Google Cloud since the last KubeCon and how we re making it easier for everyone to use and benefit from this foundational technology Run production ready ks like a proGoogle Kubernetes Engine GKE our managed Kubernetes service has always been about making it easy for you to run your containerized applications while still giving you the control you need With GKE Autopilot a new mode of operation for GKE you have an automated Kubernetes experience that optimizes your clusters for production reduces the operational cost of managing clusters and delivers higher workload availability “Reducing the complexity while getting the most out of Kubernetes is key for us and GKE Autopilot does exactly that STRABAG BRVZ Customers who want advanced configuration flexibility continue to use GKE in the standard mode of operation As customers scale up their production environments application requirements for availability reducing blast radius or distributing different types of services have grown to necessitate deployment across multiple clusters With the recently introduced GKE multi cluster services the Kubernetes Services object can now span multiple clusters in a zone across multiple zones or across multiple regions with minimal configuration or overhead for managing the interconnection between clusters GKE multi cluster services enable you to focus on the needs of your application while GKE manages your multi cluster topology “We have been running all our microservices in a single multi tenant GKE cluster For our next generation Kubernetes infrastructure we are designing multi region homogeneous and heterogeneous clusters Seamless inter cluster east west communication is a prerequisite and multi cluster Services promise to deliver Developers will not need to think about where the service is running We are very excited at the prospect Mercari Create and scale CI CD pipelines for GKE Scaling continuous integration and continuous delivery CI CD pipelines can be a time consuming process involving multiple manual steps setting up the CI CD server ensuring configuration files are updated and deploying images with the correct credentials to a Kubernetes cluster Cloud Build our serverless CI CD platform comes with a variety of features to make the process as easy for you as possible For starters Cloud Build natively supports buildpacks which allows you to build containers without a Dockerfile As a part of your build steps you can bring your own container images or choose from pre built images to save time Additionally since Cloud Build is serverless there is no need to pre provision servers or pay in advance for capacity And with its built in vulnerability scanning you can perform deep security scans within the CI CD pipeline to ensure only trusted artifacts make it to production Finally Cloud Build lets you create continuous delivery pipelines for GKE in a few clicks These pipelines implement out of the box best practices that we ve developed at Google for handling Kubernetes deployments further reducing the overhead of setting up and managing pipelines Before moving to Google Cloud the idea that we could take a customer s feature request and put it into production in less than hours was man on the moon stuff Now we do it all the time ーCraig Van Arendonk Director of IT Customer and Sales Gordon Food Service Manage security and compliance on ks with easeUpstream Kubernetes the open source version that you get from a GitHub repository isn t a locked down environment out of the box Rather than solve for security it s designed to be very extensible solving for flexibility and usability As such Kubernetes security relies on extension points to integrate with other systems such as identity and authorization And that s okay It means Kubernetes can fit lots of use cases But it also means that you can t assume that the defaults for upstream Kubernetes are correct for you If you want to deploy Kubernetes with a “secure by default mindset there are several core components to keep in mind As we discuss in the fundamentals of container security whitepaper here are some of the GKE networking related capabilities which help you make Kubernetes more secure Secure Pod networking With Dataplane V in GA we enable Kubernetes Network Policy when you create a cluster In addition Network Policy logging in GA provides visibility into your cluster s network so that you can see who is talking to who Secure Service networking The GKE Gateway controller in preview offers centralized control and security without sacrificing flexibility and developer autonomy all through standard and declarative Kubernetes interfaces Implementing Network Policy in ks can be a daunting task fraught with guess work and trial and error as you work to understand how your applications behave on the wire Additionally many compliance and regulatory frameworks require evidence of a defensive posture in the form of control configuration and logging of violations With GKE Network Policy Logging you have the ability to quickly isolate and resolve issues as well as providing the evidence required during audits This greatly simplifies the implementation and operation of enforcing Network Policies Credit Karma Get an integrated view of alerts SLOs metrics and logsDeep visibility into both applications and infrastructure is essential for troubleshooting and optimizing your production offerings With GKE when you deploy your app it gets monitored automatically GKE clusters come with pre installed agents that collect telemetry data and automatically route it to observability services such as Cloud Logging and Cloud Monitoring These services are integrated with one another as well as with GKE so you get better insights and can act on them faster For example the GKE dashboard offers a summary of metrics for clusters namespaces nodes workloads services pods and containers as well as an integrated view of Kubernetes events and alerts across all of those entities From alerts or dashboards you can go directly to logs for a given resource and you can navigate to the resource itself without having to navigate through unconnected tools from multiple vendors Likewise since telemetry data is automatically routed to the Google Cloud s observability suite you can immediately take advantage of tools based on Google s Site Reliability Engineering SRE principles For example SLO Monitoring helps you to drive greater accountability across your development and operations teams by creating error budgets and monitoring your service against those objectives Ongoing investments in integrating OpenTelemetry will improve both platform and application telemetry collection“ With GKE There s zero setup required and the integration works across the board to find errors Having the direct integration with the cloud native aspects gets us the information in a timely fashion ーErik Rogneby Director of Platform Engineering Gannett Media Corp Manage and run Kubernetes anywhere with AnthosYou can take advantage of GKE capabilities in your own datacenter or on other clouds through Anthos With Anthos you can bring GKE along with other key frameworks and services to any infrastructure while managing centrally from Google Cloud Creating secure environments within multiple cloud platforms is a challenge With each platform having different security capabilities identity systems and risks supporting an additional cloud platform often means doubling your security efforts With Anthos many of these challenges are solved Rather than relying on your application or cloud infrastructure teams to build tools to operate across multiple platforms Anthos provides these capabilities out of the box Anthos provides the core capabilities for deploying and operating infrastructure and services across Google Cloud AWS and soon in Azure We recently released Anthos delivering an array of capabilities that make multicloud more accessible and sustainable Take a look at how our latest Anthos release tracks to a successful multicloud deployment “Using Anthos we ll be able to speed up our development and deliver new services faster PKO Bank Polski ML at scale made simpleGKE brings flexibility autoscaling and management simplicity while GPUs bring superior processing power With the launch of support for multi instance NVIDIA GPUs on GKE in Preview you can now partition a single NVIDIA A GPU into up to seven instances that each have their own high bandwidth memory cache and compute cores Each instance can be allocated to one container supporting up to seven containers per one NVIDIA A GPU Further multi instance GPUs provide hardware isolation between containers and consistent and predictable QoS for all containers running on the GPU By reducing the number of configuration hoops one has to jump through to attach a GPU to a resource Google Cloud and NVIDIA have taken a needed leap to lower the barrier to deploying machine learning at scale Alongside reduced configuration complexity NVIDIA s sheer GPU inference performance with the A is blazing fast Partnering with Google Cloud has given us many exceptional options to deploy AI in the way that works best for us BetterviewSee you at KubeCon EUOn Monday May join us at Build with GKE Anthos co located with KubeCon EU to kickstart or accelerate your Kubernetes development journey We ll cover everything from how to code build and run a containerized application to how to operate manage and secure it You ll get access to technical demos that go deep into our Kubernetes services developer tools operations suite and security solutions We look forward to partnering with you on your Kubernetes journey |
2021-04-29 16:00:00 |
GCP |
Cloud Blog |
The evolution of Kubernetes networking with the GKE Gateway controller |
https://cloud.google.com/blog/products/containers-kubernetes/new-gke-gateway-controller-implements-kubernetes-gateway-api/
|
The evolution of Kubernetes networking with the GKE Gateway controllerLast week the Kubernetes community announced the Gateway API as an evolution of the Kubernetes networking APIs Led by Google and a variety of contributors the Gateway APIunifies networking under a core set of standard resources Similar to how Ingress created an ecosystem of implementations the Gateway API delivers unification but on an even broader scope and based on lessons from Ingress and service mesh Today we re excited to announce the Preview release of the GKE Gateway controller Google Cloud s implementation of the Gateway API Over a year in the making the GKE Gateway controller manages internal and external HTTP S load balancing for a GKE cluster or a fleet of GKE clusters The Gateway API provides multi tenant sharing of load balancer infrastructure with centralized admin policy and control Thanks to the API s expressiveness it supports advanced functionality such as traffic shifting traffic mirroring header manipulation and more Take the tour below to learn more A tour of the GKE Gateway controllerThe first new resource you ll encounter in the GKE Gateway controller is the GatewayClass GatewayClasses provide a template that describes the capabilities of the class In every GKE cluster you ll see two pre installed GatewayClasses Go spin up a GKE cluster and check for them right now These GatewayClasses correspond to the regional Internal gke l rilb and global External gke l gxlb HTTP S Load Balancers which are orchestrated by the Gateway controller to provide container native load balancing Role oriented designThe Gateway API is designed to be multi tenant It introduces two primary resources that create a separation of concerns between the platform owner and the service owner Gateways represent the load balancer that is listening for traffic that it routes You can have multiple Gateways one per team or just a single Gateway that is shared among different teams Routes are the protocol specific routing configuration that are applied to these Gateways GKE supports HTTPRoutes today with TCPRoutes and UDPRoutes on the roadmap One or more Routes can bind to a Gateway and together they define the routing configuration of your application The following example which you can deploy in this tutorial shows how the cluster operator deploys a Gateway resource to be shared by different teams even across different Namespaces The owner of the Gateway can define domain ownership TLS termination and other policies in a centralized way without involving service owners On the other hand service owners can define routing rules and traffic management that are specific to their app without having to coordinate with other teams or with the platform administrators The relationship between Gateway and Route resources creates a formal separation of responsibilities that can be managed by standard Kubernetes RBAC Advanced routing and traffic managementThe GKE Gateway controller introduces new routing and traffic management capabilities The following HTTPRoute was deployed by the Store team in their Namespace It matches traffic for foo example com store and applies these traffic rules of the client traffic goes to store v of the client traffic goes to store v to canary the next version of the storeAll of the client traffic is also copied and mirrored to store v for scalability testing of the following version of the storeNative multi cluster supportThe GKE Gateway controller is built with native multi cluster support for both internal and external load balancing via its multi cluster GatewayClasses Multi cluster Gateways load balance client traffic across a fleet of GKE clusters This targets various use cases including Multi cluster or multi region redundancy and failover try this tutorial Low latency serving through GKE clusters that have close proximity to clientsBlue green traffic shifting between clusters try the blue green tutorial Expansion to multiple clusters because of organizational or security constraintsOnce ingress is enabled in your Hub the multi cluster GatewayClasses with mc will appear in your GKE cluster ready to use across your fleet The GKE Gateway controller is tightly integrated with multi cluster Services so that GKE can provide both north south and east west multi cluster load balancing Multi cluster Gateways leverage the service discovery of multi cluster Services so that they have a full view of Pod backends External multi cluster Gateways provide internet load balancing and internal multi cluster Gateways provide internal private load balancing Whether your traffic flows are east west north south public or private GKE provides all the multi cluster networking capabilities that you need right out of the box The GKE Gateway controller is Google Cloud s first implementation of the Gateway API Thanks to a loosely coupled resource model TCPRoutes UDPRoutes and TLSRoutes will also soon be added to the Gateway API specification expanding its scope of capabilities This is the beginning of a new chapter in Kubernetes Service networking and there is a long road ahead Learn moreThere are many resources available to learn about the Gateway API and how to use the GKE Gateway controller Check out one of these Learn Ks tutorials on Gateway API concepts Introduction to the Gateway APIGateway API Concepts |
2021-04-29 16:00:00 |
コメント
コメントを投稿